Skip to content

Commit 489b6f2

Browse files
committed
lotus -> hanami
1 parent a1c5ec5 commit 489b6f2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/bootstrap-sass.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ def load!
77

88
if rails?
99
register_rails_engine
10-
elsif lotus?
11-
register_lotus
10+
elsif hanami?
11+
register_hanami
1212
elsif sprockets?
1313
register_sprockets
1414
elsif defined?(::Sass) && ::Sass.respond_to?(:load_paths)
@@ -53,8 +53,8 @@ def rails?
5353
defined?(::Rails)
5454
end
5555

56-
def lotus?
57-
defined?(::Lotus)
56+
def hanami?
57+
defined?(::Hanami)
5858
end
5959

6060
private
@@ -73,8 +73,8 @@ def register_rails_engine
7373
require 'bootstrap-sass/engine'
7474
end
7575

76-
def register_lotus
77-
Lotus::Assets.sources << assets_path
76+
def register_hanami
77+
Hanami::Assets.sources << assets_path
7878
end
7979

8080
def register_sprockets

0 commit comments

Comments
 (0)