Module: ApplicationComponentsConcern

Extended by:
ActiveSupport::Concern
Included in:
ApplicationController
Defined in:
app/controllers/concerns/application_components_concern.rb

Instance Method Summary collapse

Instance Method Details

#handle_component_not_found(exception) ⇒ Object (protected)


11
12
13
14
# File 'app/controllers/concerns/application_components_concern.rb', line 11

def handle_component_not_found(exception)
  @exception = exception
  render file: 'public/404', layout: false, status: :not_found
end