Sha256: 3505ca123cfb2ffb21b2b559a20f0a45e824e1c2ab2eb249af96e43ae8af1484

Contents?: true

Size: 849 Bytes

Versions: 1

Compression:

Stored size: 849 Bytes

Contents

module Phcscriptcdn
	class Engine < ::Rails::Engine
				
		# Load UI Dependecies
		require 'jquery-rails'
		require 'sass-rails'
		require 'bootstrap-sass'
		require 'font-awesome-rails'

		# PHCEngines
		# require 'phcnotifi'
		require 'phctitleseo'

		# Give PHCScriptCDN Own Namespace
		isolate_namespace Phcscriptcdn

		# Testing Generator
		config.generators do |g|
			g.test_framework :rspec,
			fixtures: true,
			view_specs: false,
			helper_specs: false,
			routing_specs: false,
			controller_specs: true,
			request_specs: false
			g.fixture_replacement :factory_girl, dir: "spec/factories"
		end
		
		# Load Helper Files
		config.to_prepare do
			ApplicationController.helper(ApplicationHelper)
			#Phcnotifi::ApplicationController.helper(ApplicationHelper)
			Phctitleseo::ApplicationController.helper(ApplicationHelper)
		end

	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
phcscriptcdn-2.0.0 lib/phcscriptcdn/engine.rb