Closed paos closed 11 years ago
Documentation states you can call this:
Rabl.render(object, template, :view_path => 'app/views', :format => :json)
However, it does not work. If :json is replaced with a string instead, it works
Rabl.render(object, template, :view_path => 'app/views', :format => 'json')
It has been fixed and will work in next version of the gem (that will be released by the end on the week)
Documentation states you can call this:
However, it does not work. If :json is replaced with a string instead, it works