Sha256: 57b1a5fca7f909db877db11353ff8088398cc63b7bbd3844a3063551df48b0a6
Contents?: true
Size: 421 Bytes
Versions: 3
Compression:
Stored size: 421 Bytes
Contents
class FrontEndController < AuthenticationController before_filter :load_sitewide_data, :meta_tags, :load_blocks def meta_tags @description = @site_data.site_info.default_description end # Loads blocks and groups them by position in the layout def load_blocks @blocks = Dust::Block.find_active(request.fullpath) end def load_sitewide_data @site_data = Dust::SiteWide.all_to_object end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dust-cms-0.0.07 | app/controllers/front_end_controller.rb |
dust-cms-0.0.06 | app/controllers/front_end_controller.rb |
dust-cms-0.0.05 | app/controllers/front_end_controller.rb |