Skip to content

Commit

Permalink
Really remove components.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy committed Nov 25, 2008
1 parent a5870d4 commit 36dcfcf
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion railties/Rakefile
Expand Up @@ -45,7 +45,6 @@ BASE_DIRS = %w(
config/environments
config/initializers
config/locales
components
db
doc
log
Expand Down
6 changes: 1 addition & 5 deletions railties/lib/initializer.rb
Expand Up @@ -624,7 +624,7 @@ class Configuration
attr_accessor :cache_classes

# The list of paths that should be searched for controllers. (Defaults
# to <tt>app/controllers</tt> and <tt>components</tt>.)
# to <tt>app/controllers</tt>.)
attr_accessor :controller_paths

# The path to the database configuration file to use. (Defaults to
Expand Down Expand Up @@ -912,17 +912,13 @@ def default_load_paths
# Add the app's controller directory
paths.concat(Dir["#{root_path}/app/controllers/"])

# Then components subdirectories.
paths.concat(Dir["#{root_path}/components/[_a-z]*"])

# Followed by the standard includes.
paths.concat %w(
app
app/models
app/controllers
app/helpers
app/services
components
config
lib
vendor
Expand Down
1 change: 0 additions & 1 deletion railties/lib/tasks/statistics.rake
Expand Up @@ -4,7 +4,6 @@ STATS_DIRECTORIES = [
%w(Models app/models),
%w(Libraries lib/),
%w(APIs app/apis),
%w(Components components),
%w(Integration\ tests test/integration),
%w(Functional\ tests test/functional),
%w(Unit\ tests test/unit)
Expand Down

0 comments on commit 36dcfcf

Please sign in to comment.