clark_kent 0.9.5 → 0.9.6
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16e05c36a33e634fe52d5ea06d46cee658000ec1
|
4
|
+
data.tar.gz: 7665fe1475e4e166c1ece1c0ccbff9d10cbb4a6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b8a3037c4d58e596304587896e1b62bacb7e4d776084ccf4a36dc0817373a34ea4e0179934ecd5c8b70f766beb859c98f3a636c4719e4c6dfb371256549f0b9
|
7
|
+
data.tar.gz: a6977bec1c3edac9b9573e3b6b52c49909c70db503c1f3063f22041167e4ee3fbe991e1ee38c7498944e488db33a29ba832f1095570fc3a7a59f5172bb582184
|
data/lib/clark_kent/version.rb
CHANGED
@@ -2,10 +2,6 @@ class ApplicationController < ActionController::Base
|
|
2
2
|
# Prevent CSRF attacks by raising an exception.
|
3
3
|
# For APIs, you may want to use :null_session instead.
|
4
4
|
protect_from_forgery with: :exception
|
5
|
-
def prepare_filters
|
6
|
-
fc_struct = Struct.new(:orders,:departments,:users)
|
7
|
-
@filter_collections = fc_struct.new(::Order.all, ::Department.all, ::User.all)
|
8
|
-
end
|
9
5
|
|
10
6
|
def current_user
|
11
7
|
|