summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2015-03-29 15:58:02 -0700
committerJesse Morgan <jesse@jesterpm.net>2015-03-29 15:58:02 -0700
commit40a9e19d173ea71572185b3acab3f4ea52473481 (patch)
tree8b3e74df15deee6cd11b7729becf79e1ecc0d20c /config
parent628d29d1e262114c3f95f12941268cd9e57cc0ad (diff)
Adding jsonp support and incrementing the hit counter.
Diffstat (limited to 'config')
-rw-r--r--config/application.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb
index f12e289..6f95750 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -22,5 +22,7 @@ module DownloadsJesterpmNet
# Do not swallow errors in after_commit/after_rollback callbacks.
config.active_record.raise_in_transactional_callbacks = true
+
+ config.middleware.use Rack::JSONP
end
end