Class: Panel::MetaNamespacesController

Inherits:
BaseController show all
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

#indexObject



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

#syncObject



9
10
11
# File 'app/controllers/com/panel/meta_namespaces_controller.rb', line 9

def sync
  MetaNamespace.sync
end