This commit is contained in:
r888888888
2013-05-24 13:13:21 -07:00
parent 9335aa9502
commit 360e945ed6
2 changed files with 2 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ protected
render :template => "static/error", :status => 410
end
def access_denied
def access_denied(exception = nil)
previous_url = params[:url] || request.fullpath
respond_to do |fmt|

View File

@@ -1,7 +1,7 @@
class DmailsController < ApplicationController
respond_to :html, :xml, :json
before_filter :member_only
rescue_from User::PrivilegeError, :with => "static/access_denied"
rescue_from User::PrivilegeError, :with => :access_denied
def new
if params[:respond_to_id]