[Rails] The font directory for rails projects will default to public/fonts.
This commit is contained in:
parent
fb16bf6ace
commit
ca6ffb4f57
@ -11,6 +11,10 @@ module Compass
|
|||||||
File.join("public", "images")
|
File.join("public", "images")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def default_fonts_dir
|
||||||
|
File.join("public", "fonts")
|
||||||
|
end
|
||||||
|
|
||||||
def default_javascripts_dir
|
def default_javascripts_dir
|
||||||
File.join("public", "javascripts")
|
File.join("public", "javascripts")
|
||||||
end
|
end
|
||||||
@ -23,6 +27,10 @@ module Compass
|
|||||||
"/javascripts"
|
"/javascripts"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def default_http_fonts_path
|
||||||
|
"/fonts"
|
||||||
|
end
|
||||||
|
|
||||||
def default_http_stylesheets_path
|
def default_http_stylesheets_path
|
||||||
"/stylesheets"
|
"/stylesheets"
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user