diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index d29ab94a..c8df5d4b 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -57,7 +57,7 @@ class ApplicationController < ActionController::Base rescue_from AccessDenied, :with => :on_access_denied def on_access_denied - render template: 'public/403.html', :layout => false, :status => :forbidden + render file: 'public/403.html', layout: false, status: :forbidden end def redirect_back!(default=:back)