public
Fork of halorgium/mephisto
Description: A mirror of the mephisto code-base
Homepage: http://mephistoblog.com/
Clone URL: git://github.com/technoweenie/mephisto.git
Search Repo:
Click here to lend your support to: mephisto and make a donation at www.pledgie.com !
The #login_from_cookie filter needs to run after the #set_cache_root 
filter.
francois (author)
Mon Mar 10 21:24:08 -0700 2008
commit  9975651a4878bfb0ede8bd92949437d98ae3061f
tree    c0c02a43961393a034af37456f86ea12d088eef1
parent  752c317ef3e42ccd14c4cb53a8ca7c37734513ac
...
1
2
3
4
5
6
7
8
9
 
 
 
 
10
11
12
...
1
2
 
 
3
4
5
6
7
8
9
10
11
12
13
14
0
@@ -1,12 +1,14 @@
0
 class ApplicationController < ActionController::Base
0
   require_dependency 'application/errors'
0
- include AuthenticatedSystem
0
- before_filter :login_from_cookie
0
 
0
   include Mephisto::CachingMethods
0
   before_filter :set_cache_root
0
   helper_method :site
0
   attr_reader :site
0
+
0
+ # This needs to come after #set_cache_root, or else @site won't be set properly
0
+ include AuthenticatedSystem
0
+ before_filter :login_from_cookie
0
 
0
   auto_include!
0
 

Comments

    No one has commented yet.