Sha256: 62c626e2b8f4ff5734b4d276fcf8446187a5e921ca2345243f13eb079b99182f

Contents?: true

Size: 284 Bytes

Versions: 112

Compression:

Stored size: 284 Bytes

Contents

module Lalala::Pages::Helpers
  extend ActiveSupport::Concern

  included do
    helper_method :current_page_chain, :current_page
  end

protected

  def current_page_chain
    request.env["lalala.page_chain"] or []
  end

  def current_page
    request.env["lalala.page"]
  end

end

Version data entries

112 entries across 112 versions & 1 rubygems

Version Path
lalala-4.1.0.dev.425 lib/lalala/pages/helpers.rb
lalala-4.1.0.dev.420 lib/lalala/pages/helpers.rb
lalala-4.1.0.dev.419 lib/lalala/pages/helpers.rb
lalala-4.1.0.dev.418 lib/lalala/pages/helpers.rb
lalala-4.1.0.dev.417 lib/lalala/pages/helpers.rb
lalala-4.0.0.dev.416 lib/lalala/pages/helpers.rb
lalala-4.1.0.dev.415 lib/lalala/pages/helpers.rb
lalala-4.1.0.dev.414 lib/lalala/pages/helpers.rb
lalala-4.1.0.dev.413 lib/lalala/pages/helpers.rb
lalala-4.1.0.dev.412 lib/lalala/pages/helpers.rb
lalala-4.1.0.dev.411 lib/lalala/pages/helpers.rb
lalala-4.1.0.dev.410 lib/lalala/pages/helpers.rb
lalala-4.1.0.dev.409 lib/lalala/pages/helpers.rb
lalala-4.0.0.dev.407 lib/lalala/pages/helpers.rb
lalala-4.1.0.dev.408 lib/lalala/pages/helpers.rb
lalala-4.1.0.dev.398 lib/lalala/pages/helpers.rb
lalala-4.1.0.dev.397 lib/lalala/pages/helpers.rb
lalala-4.0.0.dev.396 lib/lalala/pages/helpers.rb
lalala-4.0.0.dev.395 lib/lalala/pages/helpers.rb
lalala-4.1.0.dev.394 lib/lalala/pages/helpers.rb