Project

General

Profile

« Previous | Next » 

Revision 5bbdcf64

Added by Phirince Philip over 8 years ago

fixes #11312 - Allow plugins to update the Rabl view_paths

(cherry picked from commit cf043905057d77d00618d9b0c8c3c21b51a9d425)

View differences:

config/initializers/rabl_init.rb
# config.include_child_root = true
# config.enable_json_callbacks = false
# config.xml_options = { :dasherize => true, :skip_types => false }
config.view_paths = [Rails.root.join('app', 'views')]
config.view_paths << Rails.root.join('app', 'views')
# config.raise_on_missing_attribute = true # Defaults to false
# config.replace_nil_values_with_empty_strings = true # Defaults to false
config.use_controller_name_as_json_root = false

Also available in: Unified diff