1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Moved session and fragment options out

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2238 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson 2005-09-13 19:46:42 +00:00
parent b97f4e4597
commit a20ad655b5

View file

@ -142,7 +142,7 @@ module Rails
# Rails::Initializer.run(:process, config) # Rails::Initializer.run(:process, config)
class Configuration class Configuration
attr_accessor :frameworks, :load_paths, :logger, :log_level, :log_path, :database_configuration_file, :view_path, :controller_paths attr_accessor :frameworks, :load_paths, :logger, :log_level, :log_path, :database_configuration_file, :view_path, :controller_paths
attr_accessor :session_options, :session_store, :fragment_store, :cache_classes, :breakpoint_server, :whiny_nils attr_accessor :cache_classes, :breakpoint_server, :whiny_nils
attr_accessor :active_record, :action_controller, :action_view, :action_mailer, :action_web_service attr_accessor :active_record, :action_controller, :action_view, :action_mailer, :action_web_service
def initialize def initialize
@ -152,7 +152,6 @@ module Rails
self.log_level = default_log_level self.log_level = default_log_level
self.view_path = default_view_path self.view_path = default_view_path
self.controller_paths = default_controller_paths self.controller_paths = default_controller_paths
self.session_options = default_session_options
self.cache_classes = default_cache_classes self.cache_classes = default_cache_classes
self.breakpoint_server = default_breakpoint_server self.breakpoint_server = default_breakpoint_server
self.whiny_nils = default_whiny_nils self.whiny_nils = default_whiny_nils
@ -230,10 +229,6 @@ module Rails
[ File.join(RAILS_ROOT, 'app', 'controllers'), File.join(RAILS_ROOT, 'components') ] [ File.join(RAILS_ROOT, 'app', 'controllers'), File.join(RAILS_ROOT, 'components') ]
end end
def default_session_options
{}
end
def default_dependency_mechanism def default_dependency_mechanism
:load :load
end end