Skip to content
This repository has been archived by the owner on Apr 4, 2019. It is now read-only.

Fixes #18306: include vendor style sheets. #171

Merged
merged 1 commit into from Feb 1, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions lib/bastion/engine.rb
Expand Up @@ -14,6 +14,10 @@ class Engine < ::Rails::Engine
app.routes_reloader.paths.unshift("#{Bastion::Engine.root}/config/routes.rb")
end

initializer "bastion.assets", :group => :all do |app|
app.config.assets.paths << "#{Bastion::Engine.root}/vendor/assets/stylesheets/bastion"
end

initializer "bastion.configure_assets", :group => :all do |app|
SETTINGS[:bastion] = {:assets => {}} if SETTINGS[:bastion].nil?

Expand Down