Sha256: ff19f7690aec2fd8d0c537146a83dbbba6b4138f793f7c164e3f5e7b20497ab7
Contents?: true
Size: 436 Bytes
Versions: 3
Compression:
Stored size: 436 Bytes
Contents
class LocalErrorsController < ActionController::Base before_filter :set_error_instance_variables def routing_error end def template_error end def missing_template end def unknown_action end def diagnostics end private def set_error_instance_variables error_params = env['goalie.error_params'] error_params.each do |name, value| instance_variable_set("@#{name}", value) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
goalie-0.0.3 | app/controllers/local_errors_controller.rb |
goalie-0.0.2 | app/controllers/local_errors_controller.rb |
goalie-0.0.1 | app/controllers/local_errors_controller.rb |