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 !
Sessions are now globally available.

MephistoController has sessions, and Admin::Base doesn't need to declare 
the AuthenticatedSystem, as it's moved to ApplicationController
francois (author)
Mon Mar 10 19:50:19 -0700 2008
commit  752c317ef3e42ccd14c4cb53a8ca7c37734513ac
tree    6f908f6b7462f7e7b790c00e4fe5cb03797a05d1
parent  2772ec18227b04b3cb618748a2900a7b93b84d94
...
1
2
3
4
5
6
7
8
9
...
1
2
3
 
4
 
5
6
7
0
@@ -1,9 +1,7 @@
0
 class Admin::BaseController < ApplicationController
0
   class_inheritable_reader :member_actions
0
   write_inheritable_attribute :member_actions, []
0
- include AuthenticatedSystem
0
   before_filter { |c| UserMailer.default_url_options[:host] = c.request.host_with_port }
0
- before_filter :login_from_cookie
0
   before_filter :login_required, :except => :feed
0
 
0
   protected
...
1
2
 
 
3
4
5
...
1
2
3
4
5
6
7
0
@@ -1,5 +1,7 @@
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
...
1
2
3
4
5
6
...
1
2
 
3
4
5
0
@@ -1,6 +1,5 @@
0
 class MephistoController < ApplicationController
0
   layout nil
0
- session :off
0
   caches_page_with_references :dispatch
0
   cache_sweeper :comment_sweeper
0
 

Comments

    No one has commented yet.