Sha256: 40a225658f61bc07853f3d06f74e41b984e3d1731adbe17cac29be9bb252ebcb

Contents?: true

Size: 214 Bytes

Versions: 3

Compression:

Stored size: 214 Bytes

Contents

module ApplicationHelper
  def body_class
    qualified_controller_name = controller.controller_path.gsub('/','-')
    "#{qualified_controller_name} #{qualified_controller_name}-#{controller.action_name}"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tsrails-2.0.3 template/files/application_helper.rb
tsrails-2.0.2 template/files/application_helper.rb
tsrails-2.0.0 template/files/application_helper.rb