-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add About and Help StaticPage and its specs
- Loading branch information
Showing
6 changed files
with
71 additions
and
20 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,8 @@ def home | |
|
||
def help | ||
end | ||
|
||
def about | ||
|
||
end | ||
end |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,14 @@ | ||
<h1>StaticPages#help</h1> | ||
|
||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Ruby on Rails Tutorial Sample App | Help</title> | ||
</head> | ||
<body> | ||
|
||
<h1>Help</h1> | ||
<p>Find me in app/views/static_pages/help.html.erb</p> | ||
|
||
</body> | ||
</html> | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,18 @@ | ||
<h1>StaticPages#home</h1> | ||
<p>Find me in app/views/static_pages/home.html.erb</p> | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Ruby on Rails Tutorial Sample App | Home</title> | ||
</head> | ||
<body> | ||
<h1>Sample App</h1> | ||
<p> | ||
Sample App | ||
This is the home for the | ||
<a href="http://railstutorial.org">Ruby on Rails tutorial</a> | ||
sample applications | ||
</p> | ||
|
||
</body> | ||
</html> | ||
|
||
|
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