We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5aaf497 + 0050b30 commit ee46b65Copy full SHA for ee46b65
1 file changed
lib/bootstrap.rb
@@ -7,6 +7,8 @@ def load!
7
8
if rails?
9
register_rails_engine
10
+ elsif lotus?
11
+ register_lotus
12
elsif sprockets?
13
register_sprockets
14
end
@@ -44,6 +46,10 @@ def rails?
44
46
defined?(::Rails)
45
47
48
49
+ def lotus?
50
+ defined?(::Lotus)
51
+ end
52
+
53
private
54
55
def configure_sass
@@ -70,6 +76,10 @@ def register_sprockets
70
76
Sprockets.append_path(stylesheets_path)
71
77
Sprockets.append_path(javascripts_path)
72
78
79
80
+ def register_lotus
81
+ Lotus::Assets.sources << assets_path
82
73
83
74
84
75
85
0 commit comments