lib/luca/luca_application.rb in luca-0.9.91 vs lib/luca/luca_application.rb in luca-0.9.899
- old
+ new
@@ -140,14 +140,10 @@
list.select do |definition|
definition.valid?
end
end
- def assets_root
- options[:assets_root] || File.join(project_root,"app","assets")
- end
-
protected
def template_extensions
options[:template_extensions] || ['jst.ejs.haml','mustache']
end
@@ -246,10 +242,12 @@
def javascripts_root
options[:javascripts_root] || File.join(assets_root,"javascripts")
end
-
+ def assets_root
+ options[:assets_root] || File.join(project_root,"app","assets")
+ end
def project_root
options[:root] || (::Rails.root rescue Dir.pwd())
end