fix sprockets circular error
This commit is contained in:
parent
38c46cc89a
commit
f48c648d64
1 changed files with 10 additions and 0 deletions
|
@ -46,6 +46,11 @@ module Middleman::CoreExtensions::Sprockets
|
||||||
# rescue LoadError
|
# rescue LoadError
|
||||||
# end
|
# end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def javascript_exception_response(exception)
|
||||||
|
expire_index!
|
||||||
|
super(exception)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# class StylesheetEnvironment < MiddlemanEnvironment
|
# class StylesheetEnvironment < MiddlemanEnvironment
|
||||||
|
@ -59,5 +64,10 @@ module Middleman::CoreExtensions::Sprockets
|
||||||
# stylesheets_path = File.join(File.expand_path(app.views), app.css_dir)
|
# stylesheets_path = File.join(File.expand_path(app.views), app.css_dir)
|
||||||
# append_path stylesheets_path
|
# append_path stylesheets_path
|
||||||
# end
|
# end
|
||||||
|
#
|
||||||
|
# def css_exception_response(exception)
|
||||||
|
# expire_index!
|
||||||
|
# super(exception)
|
||||||
|
# end
|
||||||
# end
|
# end
|
||||||
end
|
end
|
Loading…
Add table
Add a link
Reference in a new issue