Class: Optimacms::Admin::CommonController

Inherits:
AdminBaseController show all
Defined in:
app/controllers/optimacms/admin/common_controller.rb

Instance Method Summary collapse

Methods inherited from AdminBaseController

#after_sign_in_path_for, #redirect_to_res, #set_layout_modal_old

Methods inherited from Optimacms::ApplicationController

#current_lang, #not_found

Methods included from Optimacms::ApplicationHelper

#block, #block_with_edit, #eval_meta_string, #fix_quotes, #meta_tags, #method_missing, #msg, #tinymce_editor_insert_block, #url_for

Dynamic Method Handling

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

Instance Method Details

#init_dataObject



5
6
7
# File 'app/controllers/optimacms/admin/common_controller.rb', line 5

def init_data
  @res = params[:res].to_i
end

#resObject



10
11
12
# File 'app/controllers/optimacms/admin/common_controller.rb', line 10

def res

end