forked from geddy/geddy
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
now under views will be a new directory named 'layout'. in it should be a file called default.html.ejs this file will be rendered after the controller action view was rendered. the content of the controller action view will be replaced with <%= yield %> in layout
- Loading branch information
Showing
12 changed files
with
99 additions
and
86 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
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,13 +1,8 @@ | ||
<html> | ||
<head> | ||
<link type="text/css" rel="stylesheet" href="/css/master.css"/> | ||
</head> | ||
<body> | ||
|
||
<h3>Params</h3> | ||
<ul> | ||
<% for (var p in params) { %> | ||
<li><%= p + ': ' + params[p]; %></li> | ||
<% } %> | ||
</ul> | ||
</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
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,14 +1,7 @@ | ||
<html> | ||
<head> | ||
<link type="text/css" rel="stylesheet" href="/css/master.css"/> | ||
</head> | ||
<body> | ||
<h3>Params</h3> | ||
<ul> | ||
<% for (var p in params) { %> | ||
<li><%= p + ': ' + params[p]; %></li> | ||
<% } %> | ||
</ul> | ||
</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
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,13 +1,8 @@ | ||
<html> | ||
<head> | ||
<link type="text/css" rel="stylesheet" href="/css/master.css"/> | ||
</head> | ||
<body> | ||
|
||
<h3>Params</h3> | ||
<ul> | ||
<% for (var p in params) { %> | ||
<li><%= p + ': ' + params[p]; %></li> | ||
<% } %> | ||
</ul> | ||
</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
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<html> | ||
<head> | ||
<link type="text/css" rel="stylesheet" href="/css/master.css"/> | ||
</head> | ||
<body> | ||
<%= yield %> | ||
</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,13 +1,8 @@ | ||
<html> | ||
<head> | ||
<link type="text/css" rel="stylesheet" href="/css/master.css"/> | ||
</head> | ||
<body> | ||
|
||
<h3>Params</h3> | ||
<ul> | ||
<% for (var p in params) { %> | ||
<li><%= p + ': ' + params[p]; %></li> | ||
<% } %> | ||
</ul> | ||
</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