Module: Quby::LayoutHelper

Defined in:
app/helpers/quby/layout_helper.rb

Instance Method Summary collapse

Instance Method Details

#class_for_current_controller_and_actionObject



5
6
7
8
9
10
# File 'app/helpers/quby/layout_helper.rb', line 5

def class_for_current_controller_and_action
  [
    request.path_parameters[:controller].split("/").join(" "),
    request.path_parameters[:action]
  ].join(" ")
end