meta_notification 0.0.4 → 0.0.5
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: 304c8f51d7904009d76b0a1463c7e6fc5d8df8ee
|
4
|
+
data.tar.gz: 0274f97656a092f2706af5cfd2ed9d732c9e96b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 305133dcedace28513301ba8247050c566ad3e2152cd4685db82196fb950f21f8c90d9f2f8d8bc108554aff61bda6a7a2b1130f051a7c73875d179f93a50136e
|
7
|
+
data.tar.gz: 3da41c365666d6727df69873bc1e57f499e94bc3e3eeec07c241bf6c80af58941f90e592e3f22c9e6b1efedb5be9f5ae13ba4025428d59967a42f713265aa528
|
@@ -28,7 +28,7 @@ module MetaNotification
|
|
28
28
|
def index
|
29
29
|
if MnAuthorizers::NotificationTypeAuthorizer.readable_by?(current_user)
|
30
30
|
@types = MetaNotification::NotificationType.all
|
31
|
-
render :json => @types
|
31
|
+
render :json => @types, status: 200 and return
|
32
32
|
end
|
33
33
|
render :json => "You are not authorize to complete this action.", status: 422
|
34
34
|
end
|