Created
December 8, 2011 09:56
-
-
Save avdgaag/1446606 to your computer and use it in GitHub Desktop.
Test simple page designs in a Rails app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# app/controllers/pages_controller.rb | |
class PagesController < ApplicationController | |
def login | |
end | |
def forgot_password | |
end | |
end | |
# app/views/pages/login.html.haml | |
%p Hello, world! | |
# config/routes.rb | |
match ':controller(/:action(/:id(.:format)))' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment