Sha256: 32740c1dee0bb7a4933e3e14e62ea739912d327001e1068a9f90a9905d223594

Contents?: true

Size: 195 Bytes

Versions: 4

Compression:

Stored size: 195 Bytes

Contents

module ApplicationHelper

  # added by PagesCMS. Fill out this helper to protect your views.
  def current_user_is_admin?
    true
  end

  def slugged_path(page)
    "/#{page.slug}"
  end


end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pages_cms-0.1.0 test/dummy/app/helpers/application_helper.rb
pages_cms-0.0.3 test/dummy/app/helpers/application_helper.rb
pages_cms-0.0.2 test/dummy/app/helpers/application_helper.rb
pages_cms-0.0.1 test/dummy/app/helpers/application_helper.rb