objectreload-permissions 0.1.2 → 0.1.3

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.2
1
+ 0.1.3
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 403
8
+ render_optional_error_file 422
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.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mateusz Drozdzynski