Sha256: bf86bef216447fd6b043c20c2f6047f9c9b7edd6215057f3c9fd1de9b92ac2e6

Contents?: true

Size: 227 Bytes

Versions: 5

Compression:

Stored size: 227 Bytes

Contents

ApplicationController.class_eval do
  # helper Cardboard::Engine.helpers
  # helper Cardboard::PublicHelper

  def current_page
    nil #this will be overwritten only for cardboard pages
  end
  helper_method :current_page
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cardboard_cms-0.2.2 app/decorators/controllers/application_controller_decorator.rb
cardboard_cms-0.2.1 app/decorators/controllers/application_controller_decorator.rb
cardboard_cms-0.1.8 app/decorators/controllers/application_controller_decorator.rb
cardboard_cms-0.1.6 app/decorators/controllers/application_controller_decorator.rb
cardboard_cms-0.1.4 app/decorators/controllers/application_controller_decorator.rb