Sha256: e3a2c439a0dd4c639096a3068f6ab921c482bc6f0b0a7bfb05d4e759562b355b
Contents?: true
Size: 353 Bytes
Versions: 4
Compression:
Stored size: 353 Bytes
Contents
module Seiten module Controllers # Those helpers are convenience methods added to ApplicationController. module Helpers extend ActiveSupport::Concern included do helper_method :current_page end def current_page @current_page ||= Seiten::Page.find_by_slug(request.fullpath) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems