objectreload-permissions 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/exceptions.rb +1 -1
  3. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.3
1
+ 0.1.4
data/lib/exceptions.rb CHANGED
@@ -5,5 +5,5 @@ end
5
5
  ActionController::Base.send(:rescue_from, Exceptions::UnathorizedAccess, :with => :forbidden)
6
6
 
7
7
  def forbidden
8
- render_optional_error_file 422
8
+ render_optional_error_file 403
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: objectreload-permissions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mateusz Drozdzynski