flail 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/flail/exception.rb +1 -0
- data/lib/flail/rails/rescue_action.rb +1 -0
- data/lib/flail/version.rb +1 -1
- metadata +1 -1
data/lib/flail/exception.rb
CHANGED
@@ -14,6 +14,7 @@ class Flail
|
|
14
14
|
# Rails 2's exception helpers.
|
15
15
|
def rescue_action_in_public_with_flail(exception)
|
16
16
|
request.env['flail.request'] = request
|
17
|
+
request.env['action_controller.instance'] = self
|
17
18
|
Flail::Exception.new(request.env, exception).handle!
|
18
19
|
rescue_action_in_public_without_flail(exception)
|
19
20
|
end
|
data/lib/flail/version.rb
CHANGED