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

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