templates/home_controller.rb in prologue-0.2.0 vs templates/home_controller.rb in prologue-0.3.0
- old
+ new
@@ -4,10 +4,6 @@
<<-FILE
%h1 #{app_name.humanize}
FILE
end
-inject_into_file 'config/routes.rb', :after => "# root :to => \"welcome#index\"\n" do
-<<-RUBY
- root :to => "home#index"
-RUBY
-end
+route("root :to => 'home#index'")
\ No newline at end of file