From 91aaa8ce06a76afa2ac51c0dd1e9e119dd02e8d2 Mon Sep 17 00:00:00 2001 From: Dhruv Kapadia Date: Fri, 16 Apr 2010 12:23:26 -0400 Subject: [PATCH] Preventing new users from signing up for api --- app/views/sessions/new.html.erb | 6 +++--- vendor/gems/thoughtbot-clearance-0.8.2/config/clearance_routes.rb | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/sessions/new.html.erb b/app/views/sessions/new.html.erb index ad86f71..898bd6e 100644 --- a/app/views/sessions/new.html.erb +++ b/app/views/sessions/new.html.erb @@ -13,10 +13,10 @@ +

+ We are currently not accepting any new users of the Pairwise API. If you are interested in becoming a user of the pairwise api, please contact info@allourideas.org. For more information visit our main website +

diff --git a/vendor/gems/thoughtbot-clearance-0.8.2/config/clearance_routes.rb b/vendor/gems/thoughtbot-clearance-0.8.2/config/clearance_routes.rb index caeb5cc..1e3291b 100644 --- a/vendor/gems/thoughtbot-clearance-0.8.2/config/clearance_routes.rb +++ b/vendor/gems/thoughtbot-clearance-0.8.2/config/clearance_routes.rb @@ -7,7 +7,7 @@ ActionController::Routing::Routes.draw do |map| :controller => 'clearance/sessions', :only => [:new, :create, :destroy] - map.resources :users, :controller => 'clearance/users' do |users| + map.resources :users, :controller => 'clearance/users', :except => [:new, :create] do |users| users.resource :password, :controller => 'clearance/passwords', :only => [:create, :edit, :update] -- libgit2 0.21.2