lib/bulldog/reflection.rb in bulldog-0.0.15 vs lib/bulldog/reflection.rb in bulldog-0.1.0
- old
+ new
@@ -41,10 +41,10 @@
raise Error, "invalid default_style: #{@default_style.inspect}"
@default_style
end
def path_template
- @path_template || Bulldog.default_path_template || File.join(':public_path', url_template)
+ @path_template || Bulldog.default_path_template || File.join(':root', url_template)
end
def url_template
@url_template || Bulldog.default_url_template
end