Method: Cms::ErrorHandling#handle_server_error
- Defined in:
- app/controllers/cms/error_handling.rb
#handle_server_error(exception) ⇒ Object
20 21 22 23 24 25 26 27 28 |
# File 'app/controllers/cms/error_handling.rb', line 20 def handle_server_error(exception) logger.error "Handling Exception: #{exception}" with_format('html') do render :layout => 'cms/application', :template => 'cms/shared/error', :status => :internal_server_error, :locals => {:exception => exception} end end |