Sha256: 612b9c9f05401d89aa86e2d3c2d4d4225b32df29e16dca220e4643fa5ae45b7e
Contents?: true
Size: 494 Bytes
Versions: 14
Compression:
Stored size: 494 Bytes
Contents
module Phcpress class ApplicationController < ActionController::Base private # Resolve Application Layouts def layouts_resolver_application case action_name when "index" "layouts/phcpress/application" else "layouts/phcpress/application" end end # Resolve Webpage Layouts def layouts_resolver_webpages case action_name when "newspage" "layouts/phcpress/pagelayout" when "blogpage" "layouts/phcpress/pagelayout" end end end end
Version data entries
14 entries across 14 versions & 1 rubygems