thecore_api 1.1.14 → 1.1.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/api/v1/base_controller.rb +1 -1
- data/lib/thecore_api/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: b8ef3e2de10e18b5ea818b420776570190cf6cc0
|
4
|
+
data.tar.gz: bb51f8a89cce4f85afb638704cb406f4171fff54
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d265690b635ec18a008cde4f5497ff20420ef49e96b948061574f1cc7f4fddac737ad069bbf2da6b1cfd7a2765251885741cc163ea2019b8213b46bbfa108cb7
|
7
|
+
data.tar.gz: faa8eb1396282c83d38aa0395b8bc4749ab2746210932b4757d06e6d6e004c68aa6821424b3486c387ce61868612192bbbc2a9fd53b8b597f6f561870976b7ef
|
@@ -14,7 +14,7 @@ class Api::V1::BaseController < ActionController::API
|
|
14
14
|
before_action :destroy_session
|
15
15
|
|
16
16
|
before_action :authenticate_user!
|
17
|
-
before_action :find_model, except: [ :version, :token ]
|
17
|
+
before_action :find_model, except: [ :version, :token, :available_roles ]
|
18
18
|
before_action :find_record, only: [ :show, :update, :destroy ]
|
19
19
|
|
20
20
|
rescue_from ActiveRecord::RecordNotFound, with: :not_found!
|
data/lib/thecore_api/version.rb
CHANGED