Commit 91aaa8ce06a76afa2ac51c0dd1e9e119dd02e8d2
1 parent
970b8d3b
Exists in
master
and in
1 other branch
Preventing new users from signing up for api
Showing
2 changed files
with
4 additions
and
4 deletions
Show diff stats
app/views/sessions/new.html.erb
@@ -13,10 +13,10 @@ | @@ -13,10 +13,10 @@ | ||
13 | 13 | ||
14 | <ul> | 14 | <ul> |
15 | <li> | 15 | <li> |
16 | - <%= link_to "Sign up", new_user_path %> | ||
17 | - </li> | ||
18 | - <li> | ||
19 | <%= link_to "Forgot password?", new_password_path %> | 16 | <%= link_to "Forgot password?", new_password_path %> |
20 | </li> | 17 | </li> |
21 | </ul> | 18 | </ul> |
19 | +<p> | ||
20 | + 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 <a href="http://www.allourideas.org">our main website</a> | ||
21 | + </p> | ||
22 | 22 |
vendor/gems/thoughtbot-clearance-0.8.2/config/clearance_routes.rb
@@ -7,7 +7,7 @@ ActionController::Routing::Routes.draw do |map| | @@ -7,7 +7,7 @@ ActionController::Routing::Routes.draw do |map| | ||
7 | :controller => 'clearance/sessions', | 7 | :controller => 'clearance/sessions', |
8 | :only => [:new, :create, :destroy] | 8 | :only => [:new, :create, :destroy] |
9 | 9 | ||
10 | - map.resources :users, :controller => 'clearance/users' do |users| | 10 | + map.resources :users, :controller => 'clearance/users', :except => [:new, :create] do |users| |
11 | users.resource :password, | 11 | users.resource :password, |
12 | :controller => 'clearance/passwords', | 12 | :controller => 'clearance/passwords', |
13 | :only => [:create, :edit, :update] | 13 | :only => [:create, :edit, :update] |