Skip to content

Instantly share code, notes, and snippets.

@Pluto1010
Created July 3, 2014 08:15
Show Gist options
  • Save Pluto1010/3df962e1397e11f6528b to your computer and use it in GitHub Desktop.
Save Pluto1010/3df962e1397e11f6528b to your computer and use it in GitHub Desktop.
class ApplicationController < ActionController::Base
after_filter :clear_session
def clear_session
session.clear
end
# ...
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment