From d43698cfffe7a883517f74b9b4b2c3b57eff9521 Mon Sep 17 00:00:00 2001 From: albert Date: Thu, 21 Mar 2013 16:16:28 -0700 Subject: [PATCH] fixes #1027 --- app/controllers/users_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 4a350eb3b..a6795d4cb 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -1,7 +1,7 @@ class UsersController < ApplicationController respond_to :html, :xml, :json before_filter :member_only, :only => [:edit, :update, :upgrade] - rescue_from User::PrivilegeError, :with => "static/access_denied" + rescue_from User::PrivilegeError, :with => :access_denied def new @user = User.new