aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2009-06-17 18:16:49 +0200
committerJosé Valim <jose.valim@gmail.com>2009-06-19 16:11:54 +0200
commit30fff3077dedd83d2c777ad1b86b3238fee20ccb (patch)
tree1ea6707554ef9b59d18fd0ea17834e8a32516b72
parent5ff80e743345e87209303a477a5caaca75c6cece (diff)
downloadrails-30fff3077dedd83d2c777ad1b86b3238fee20ccb.tar.gz
rails-30fff3077dedd83d2c777ad1b86b3238fee20ccb.tar.bz2
rails-30fff3077dedd83d2c777ad1b86b3238fee20ccb.zip
Updated dependency, so we can remove extra code.
-rw-r--r--railties/lib/generator/generators/app.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/railties/lib/generator/generators/app.rb b/railties/lib/generator/generators/app.rb
index 408a73a1e8..2b3ba345a0 100644
--- a/railties/lib/generator/generators/app.rb
+++ b/railties/lib/generator/generators/app.rb
@@ -47,9 +47,7 @@ module Rails::Generators
self.root = File.expand_path(app_path, root)
empty_directory '.'
- app_name # Sets the app name
- source_root # Sets the source root
-
+ app_name # Sets the app name
FileUtils.cd(root)
end