This website works better with JavaScript.
Home
Explore
Help
Sign In
abunchtell
/
mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Activity
Browse Source
Make sure Rabl is using Oj
master
Eugen Rochko
7 years ago
parent
b142a2ebf5
commit
29ffe1cad3
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
config/initializers/rabl_init.rb
+ 1
- 0
config/initializers/rabl_init.rb
View File
@@ -1,4 +1,5 @@
Rabl.configure do |config|
config.json_engine = Oj
config.cache_all_output = false
config.cache_sources = Rails.env.production?
config.include_json_root = false
Write
Preview
Loading…
Cancel
Save