Sha256: 341cbe3acd14cd28453f5d7c8e0f8d8c3ad72d30454459d57dfa5ca03a833fd4
Contents?: true
Size: 643 Bytes
Versions: 22
Compression:
Stored size: 643 Bytes
Contents
require 'rails' module Kuhsaft class Engine < Rails::Engine initializer 'kuhsaft.init_stylesheets' do |app| Sass::Plugin.add_template_location File.join(Kuhsaft::Engine.root, 'app', 'stylesheets'), File.join(Rails.root, 'public', 'stylesheets') end initializer 'kuhsaft.static_assets' do |app| app.middleware.use ::ActionDispatch::Static, "#{Kuhsaft::Engine.root}/public" end initializer 'kuhsaft.helpers' do |app| # Include your helpers here or they won't be loaded ActionView::Base.send :include, Kuhsaft::PagesHelper ActionView::Base.send :include, Kuhsaft::CmsHelper end end end
Version data entries
22 entries across 22 versions & 1 rubygems