闭社主体 forked from https://github.com/tootsuite/mastodon
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.

7 lines
244 B

  1. Rabl.configure do |config|
  2. config.json_engine = Oj
  3. config.cache_all_output = false
  4. config.cache_sources = Rails.env.production?
  5. config.include_json_root = false
  6. config.view_paths = [Rails.root.join('app/views')]
  7. end