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: e8724525f5d668164ecf8206d00d31fe7c84606c
4
- data.tar.gz: 93c33e3b5482155251008a1b84ea98c79438d435
3
+ metadata.gz: 304c8f51d7904009d76b0a1463c7e6fc5d8df8ee
4
+ data.tar.gz: 0274f97656a092f2706af5cfd2ed9d732c9e96b0
5
5
  SHA512:
6
- metadata.gz: 9271e12e87fa6f6aca72f2599d1dfc84a82ac7c16bb9092bf9029f7aebecfe3c410e1cc4816d00fa8e6f9701a72209445cdcc62a17b6468a1d493c08b90368cd
7
- data.tar.gz: d611e5941c8f435996b41a4df8bd79618e3e59240b9535b80a8058f3651b1e364e54d1ba64d90a6bd13da0a42bc5bb9875eb8970e7b40c4510c96571ec6a42c2
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
@@ -1,3 +1,3 @@
1
1
  module MetaNotification
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: meta_notification
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shobhit Dixit