]> git.openstreetmap.org Git - rails.git/blob - config/initializers/session.rb
Avoid relying on the order in which emails are sent
[rails.git] / config / initializers / session.rb
1 module ActionDispatch
2   class Request < Rack::Request
3     class Session
4       def clear_with_rescue
5         clear_without_rescue
6       rescue
7         # lets not worry about it...
8       end
9
10       alias_method_chain :clear, :rescue
11     end
12   end
13 end