Sha256: 8f8666ad198c31506e2e91d8dd2f3cc58cfec9b63c44fa84319e683ac9f8147f
Contents?: true
Size: 586 Bytes
Versions: 6
Compression:
Stored size: 586 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 end end end
Version data entries
6 entries across 6 versions & 1 rubygems