Class: Panel::MetaNamespacesController
- Inherits:
-
BaseController
- Object
- ActionController::Base
- ApplicationController
- PanelController
- BaseController
- Panel::MetaNamespacesController
- Defined in:
- app/controllers/com/panel/meta_namespaces_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 |
# File 'app/controllers/com/panel/meta_namespaces_controller.rb', line 5 def index @meta_namespaces = MetaNamespace.order(id: :asc).page(params[:page]) end |
#sync ⇒ Object
9 10 11 |
# File 'app/controllers/com/panel/meta_namespaces_controller.rb', line 9 def sync MetaNamespace.sync end |