forbidium 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/forbidium/railtie.rb +4 -2
- data/lib/forbidium/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1043ce4d9d849b044c480c05b412003f0b00deb6
|
4
|
+
data.tar.gz: 9ccce27c23c6d6853dfc5cdca0059ff08bdfe89d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa045780d0b51b068941114a4599035c7fedf5cac0e50fe092aad3fb890c32fa651c6b5030759c829de0cf2889e0fcf2df53370d4113f3fa6cbce3b11734aab7
|
7
|
+
data.tar.gz: 34c0875b4c8a3b6cc19dc14319ab31422af161517328ad21eeaf04d702936569e5fef0740a63ef749e9513da0d23baf0b0b66f06cc8020afe2e144bf3f081d7e
|
data/lib/forbidium/railtie.rb
CHANGED
@@ -2,8 +2,10 @@ require 'rails/railtie'
|
|
2
2
|
|
3
3
|
module Forbidium
|
4
4
|
class Railtie < ::Rails::Railtie
|
5
|
-
|
6
|
-
|
5
|
+
initializer :forbidium do
|
6
|
+
ActiveSupport.on_load :action_controller do
|
7
|
+
ActionController::Parameters.include Forbidium
|
8
|
+
end
|
7
9
|
end
|
8
10
|
end
|
9
11
|
end
|
data/lib/forbidium/version.rb
CHANGED