Skip to content

Commit

Permalink
Moved session and fragment options out
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2238 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
dhh committed Sep 13, 2005
1 parent b97f4e4 commit a20ad65
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions railties/lib/initializer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def intitialize_framework_settings
# Rails::Initializer.run(:process, config)
class Configuration
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

def initialize
Expand All @@ -152,7 +152,6 @@ def initialize
self.log_level = default_log_level
self.view_path = default_view_path
self.controller_paths = default_controller_paths
self.session_options = default_session_options
self.cache_classes = default_cache_classes
self.breakpoint_server = default_breakpoint_server
self.whiny_nils = default_whiny_nils
Expand Down Expand Up @@ -230,10 +229,6 @@ def default_controller_paths
[ File.join(RAILS_ROOT, 'app', 'controllers'), File.join(RAILS_ROOT, 'components') ]
end

def default_session_options
{}
end

def default_dependency_mechanism
:load
end
Expand Down

0 comments on commit a20ad65

Please sign in to comment.