Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (12 sloc) 0.434 kB
# Generate a simple welcome page scaffold
if File.exists?('spec')
generate :rspec_controller, "welcome index"
File.delete("spec/helpers/welcome_helper_spec.rb")
else
generate :controller, "welcome index"
File.delete("test/unit/helpers/welcome_helper_test.rb")
end
route "map.root :controller => 'welcome'"
File.delete("app/helpers/welcome_helper.rb")
git :add => "."
git :commit => "-m 'Added Welcome scaffold as homepage'"
Jump to Line
Something went wrong with that request. Please try again.