Class: Panel::MetaModelsController
- Inherits:
-
BaseController
- Object
- ActionController::Base
- ApplicationController
- PanelController
- BaseController
- Panel::MetaModelsController
- Defined in:
- app/controllers/com/panel/meta_models_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
6 7 8 |
# File 'app/controllers/com/panel/meta_models_controller.rb', line 6 def index @meta_models = MetaModel.order(record_name: :asc).page(params[:page]) end |
#sync ⇒ Object
10 11 12 |
# File 'app/controllers/com/panel/meta_models_controller.rb', line 10 def sync MetaModel.sync end |