diff options
author | jessib <jessib@leap.se> | 2013-01-17 12:35:48 -0800 |
---|---|---|
committer | jessib <jessib@leap.se> | 2013-01-17 12:35:48 -0800 |
commit | cce882a42cc0c139b75d932ea8ee42525e4fdb32 (patch) | |
tree | 03e8643035aa61bb0f650175309e7dedf0d2b44a /users/app | |
parent | a4105f068e6f8ce89fbba475048f2a1e02e0fcbc (diff) |
Should be able to create a user when not logged in.
This isn't ready to merge, as there is an issue with logging in as an admin in the test.
Diffstat (limited to 'users/app')
-rw-r--r-- | users/app/controllers/users_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/users/app/controllers/users_controller.rb b/users/app/controllers/users_controller.rb index a8ba1ab..c0fe243 100644 --- a/users/app/controllers/users_controller.rb +++ b/users/app/controllers/users_controller.rb @@ -3,7 +3,7 @@ class UsersController < ApplicationController skip_before_filter :verify_authenticity_token, :only => [:create] - before_filter :authorize + before_filter :authorize, :only => [:show, :edit, :update, :destroy] before_filter :fetch_user, :only => [:show, :edit, :update, :destroy] before_filter :set_anchor, :only => [:edit, :update] before_filter :authorize_admin, :only => [:index] |