Class: Panel::ErrsController
- Inherits:
-
BaseController
- Object
- ActionController::Base
- ApplicationController
- PanelController
- BaseController
- Panel::ErrsController
- Defined in:
- app/controllers/com/panel/errs_controller.rb
Constant Summary
Constants included from RailsCom::Application
RailsCom::Application::LOCALE_MAP
Instance Method Summary collapse
Methods included from RailsCom::Application
#current_title, #default_form_params, #default_params, #json_format?, #set_country, #set_flash, #set_locale, #set_timezone, #set_variant
Instance Method Details
#index ⇒ Object
5 6 7 8 9 10 |
# File 'app/controllers/com/panel/errs_controller.rb', line 5 def index q_params = {} q_params.merge! params.permit('controller_name', 'action_name', 'path-like', 'exception_object') @errs = Err.default_where(q_params).page(params[:page]).per(params[:per]) end |