Sha256: bec05e31fc1de997791d97ad5e971d1c9bffa9447b8852dc8cdad65b1cb044be

Contents?: true

Size: 163 Bytes

Versions: 12

Compression:

Stored size: 163 Bytes

Contents

module ApplicationHelper

  def page_id
    controller_names = controller_path.split('/')
    [controller_names, action_name].compact.flatten.join('-')
  end

end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
tao_on_rails-0.6.13 lib/templates/app/templates/app/helpers/application_helper.rb
tao_on_rails-0.6.12 lib/templates/app/templates/app/helpers/application_helper.rb
tao_on_rails-0.6.11 lib/templates/app/templates/app/helpers/application_helper.rb
tao_on_rails-0.6.10 lib/templates/app/templates/app/helpers/application_helper.rb
tao_on_rails-0.6.9 lib/templates/app/templates/app/helpers/application_helper.rb
tao_on_rails-0.6.8 lib/templates/app/templates/app/helpers/application_helper.rb
tao_on_rails-0.6.7 lib/templates/app/templates/app/helpers/application_helper.rb
tao_on_rails-0.6.6 lib/templates/app/templates/app/helpers/application_helper.rb
tao_on_rails-0.6.5 lib/templates/app/templates/app/helpers/application_helper.rb
tao_on_rails-0.6.4 lib/templates/app/templates/app/helpers/application_helper.rb
tao_on_rails-0.6.3 lib/templates/app/templates/app/helpers/application_helper.rb
tao_on_rails-0.6.2 lib/templates/app/templates/app/helpers/application_helper.rb