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

Version Path
phcpress-2.5.2 app/controllers/phcpress/application_controller.rb
phcpress-2.5.0 app/controllers/phcpress/application_controller.rb
phcpress-2.0.2 app/controllers/phcpress/application_controller.rb
phcpress-2.0.0 app/controllers/phcpress/application_controller.rb
phcpress-1.0.0 app/controllers/phcpress/application_controller.rb
phcpress-0.11.1 app/controllers/phcpress/application_controller.rb
phcpress-0.11.0 app/controllers/phcpress/application_controller.rb
phcpress-0.10.8 app/controllers/phcpress/application_controller.rb
phcpress-0.9.7 app/controllers/phcpress/application_controller.rb
phcpress-0.9.6 app/controllers/phcpress/application_controller.rb
phcpress-0.7.11 app/controllers/phcpress/application_controller.rb
phcpress-0.7.9 app/controllers/phcpress/application_controller.rb
phcpress-0.6.0 app/controllers/phcpress/application_controller.rb
phcpress-0.5.9b app/controllers/phcpress/application_controller.rb