rest_framework 0.6.10 → 0.6.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/rest_framework/controller_mixins/base.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b50de92e6da78551111f0fd642d6e4ed931528036e455cea60edf89ec562c9f7
|
4
|
+
data.tar.gz: e603daa202d4798d1b11e821084d92a0114931639ddc6198d87243494c65e74d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf66b77f4ad8bfa0fe05c38e0cb1e9d73f0c9cb48b92c8c57401510062522fb1715f1699641c7455a69838380bffff1b67dc0bd4dbc10d53e242c08ce604b40c
|
7
|
+
data.tar.gz: cb1e8f11488a8d108d4a40593906ca1c1718b2b762c5049625ee206aee01c50dc818fcca369e258b89c144cc0c0c4a703ac8f6ca1bdc47c7082e447bbfbe8b8c
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.11
|
@@ -20,7 +20,7 @@ module RESTFramework::BaseControllerMixin
|
|
20
20
|
RESTFramework::BUILTIN_ACTIONS.merge(
|
21
21
|
RESTFramework::RRF_BUILTIN_ACTIONS,
|
22
22
|
).each do |action, methods|
|
23
|
-
actions[action] = {path: "", methods: methods}
|
23
|
+
actions[action] = {path: "", methods: methods} if self.method_defined?(action)
|
24
24
|
end
|
25
25
|
|
26
26
|
# Add extra actions.
|
@@ -37,7 +37,7 @@ module RESTFramework::BaseControllerMixin
|
|
37
37
|
|
38
38
|
# Start with builtin actions.
|
39
39
|
RESTFramework::BUILTIN_MEMBER_ACTIONS.each do |action, methods|
|
40
|
-
actions[action] = {path: "", methods: methods}
|
40
|
+
actions[action] = {path: "", methods: methods} if self.method_defined?(action)
|
41
41
|
end
|
42
42
|
|
43
43
|
# Add extra actions.
|