Class: Comfy::Admin::Cms::BaseController
- Inherits:
-
BaseController
- Object
- BaseController
- Comfy::Admin::Cms::BaseController
- Defined in:
- app/controllers/comfy/admin/cms/base_controller.rb
Direct Known Subclasses
CategoriesController, FilesController, LayoutsController, PagesController, Revisions::BaseController, SitesController, SnippetsController, TranslationsController
Instance Method Summary collapse
Methods included from Paginate
Instance Method Details
#jump ⇒ Object
16 17 18 19 20 21 |
# File 'app/controllers/comfy/admin/cms/base_controller.rb', line 16 def jump path = ComfortableMexicanSofa.config.admin_route_redirect return redirect_to(path) unless path.blank? load_admin_site redirect_to comfy_admin_cms_site_pages_path(@site) if @site end |