remvee (owner)

Revisions

gist: 131946 Download_button fork
public
Public Clone URL: git://gist.github.com/131946.git
Embed All Files: show embed
Text only #
1
2
3
4
5
6
7
8
9
10
--- a/app/controllers/security.rb
+++ b/app/controllers/security.rb
@@ -10,7 +10,7 @@ module Security
     # Ensure somebody is logged in. Takes the same options as
     # +before_filter+.
     def authenticate(options = {})
- before_filter options.dup { |controller| controller.send(:authenticate) }
+ before_filter(options.dup) { |controller| controller.send(:authenticate) }
     end