You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
metu.life/config/initializers/rabl_init.rb

7 lines
213 B

Rabl.configure do |config|
config.cache_all_output = true
config.cache_sources = !!Rails.env.production?
config.include_json_root = false
config.view_paths = [Rails.root.join('app/views')]
end