Skip to content

Commit

Permalink
lotus -> hanami
Browse files Browse the repository at this point in the history
  • Loading branch information
glebm committed Dec 14, 2018
1 parent a1c5ec5 commit 489b6f2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/bootstrap-sass.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ def load!

if rails?
register_rails_engine
elsif lotus?
register_lotus
elsif hanami?
register_hanami
elsif sprockets?
register_sprockets
elsif defined?(::Sass) && ::Sass.respond_to?(:load_paths)
Expand Down Expand Up @@ -53,8 +53,8 @@ def rails?
defined?(::Rails)
end

def lotus?
defined?(::Lotus)
def hanami?
defined?(::Hanami)
end

private
Expand All @@ -73,8 +73,8 @@ def register_rails_engine
require 'bootstrap-sass/engine'
end

def register_lotus
Lotus::Assets.sources << assets_path
def register_hanami
Hanami::Assets.sources << assets_path
end

def register_sprockets
Expand Down

0 comments on commit 489b6f2

Please sign in to comment.