song

Erb code posted by song
created at 12 Sep 04:59

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<html>
 <head>
   <title>Online Cookbook</title>
 </head>
 <body>
   <h1>Online Cookbook</h1>
   <%= @content_for_layout %>
   <p>
     <%= link_to "Create new recipe", 
                 :controller => "recipe", 
                 :action => "new" %>
     
   <%= link_to "Show all recipes", 
               :controller => "recipe", 
               :action => "list" %>
     
   <%= link_to "Show all categories", 
               :controller => "category", 
               :action => "list" %>
   </p>
 </body>
</html>

542 Bytes in 5 ms with coderay