make custom css more robust
This commit is contained in:
parent
97dc090e4d
commit
b5ddbcae21
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ module ApplicationHelper
|
||||||
|
|
||||||
# @return [String] path to foodcoop CSS style (with MD5 parameter for caching)
|
# @return [String] path to foodcoop CSS style (with MD5 parameter for caching)
|
||||||
def foodcoop_css_path(options={})
|
def foodcoop_css_path(options={})
|
||||||
super(options.merge({md5: Digest::MD5.hexdigest(FoodsoftConfig[:custom_css])}))
|
super(options.merge({md5: Digest::MD5.hexdigest(FoodsoftConfig[:custom_css].to_s)}))
|
||||||
end
|
end
|
||||||
|
|
||||||
# @return [String] stylesheet tag for foodcoop CSS style (+custom_css+ foodcoop config)
|
# @return [String] stylesheet tag for foodcoop CSS style (+custom_css+ foodcoop config)
|
||||||
|
|
Loading…
Reference in a new issue