Class: Optimacms::Admin::AdminBaseController

Inherits:
Optimacms::ApplicationController show all
Defined in:
app/controllers/optimacms/admin/admin_base_controller.rb

Direct Known Subclasses

DashboardController

Instance Method Summary collapse

Methods inherited from Optimacms::ApplicationController

#current_lang, #not_found

Methods included from Optimacms::ApplicationHelper

#block, #meta_tags, #method_missing, #site_page_path, #tinymce_editor_insert_block

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Optimacms::ApplicationHelper

Instance Method Details

#set_layout_modal ⇒ Object

modal



14
15
16
17
18
19
# File 'app/controllers/optimacms/admin/admin_base_controller.rb', line 14

def set_layout_modal
  if @modal==1
    self.class.layout false
  end

end