summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-02-19 22:40:27 +0100
committerhukl <contact@smyck.org>2009-02-19 22:40:27 +0100
commit111829573d1c048d4c4c4e4d98b114eba9c28196 (patch)
tree6f9d40764b0fd5a0587827f373db167be13f9ac2 /app/views
parent632b3a03d732ae735b2efd1999e14c649bf35b77 (diff)
adding the admin controller and his friends
Diffstat (limited to 'app/views')
-rw-r--r--app/views/admin/index.html.erb5
-rw-r--r--app/views/layouts/admin.html.erb8
2 files changed, 12 insertions, 1 deletions
diff --git a/app/views/admin/index.html.erb b/app/views/admin/index.html.erb
new file mode 100644
index 0000000..0a9874f
--- /dev/null
+++ b/app/views/admin/index.html.erb
@@ -0,0 +1,5 @@
1<h1>Admin#index</h1>
2<p>Find me in app/views/admin/index.html.erb</p>
3
4
5<%= link_to 'nodes', :controller => :nodes, :action => :index %> \ No newline at end of file
diff --git a/app/views/layouts/admin.html.erb b/app/views/layouts/admin.html.erb
index df5b014..deebc66 100644
--- a/app/views/layouts/admin.html.erb
+++ b/app/views/layouts/admin.html.erb
@@ -24,6 +24,12 @@
24 </head> 24 </head>
25 25
26 <body> 26 <body>
27 <%= yield :layout %> 27 <div id="navigation">
28 <p><%= I18n.locale %></p>
29 <%= language_selector %>
30 </div>
31 <div id="content">
32 <%= yield :layout %>
33 </div>
28 </body> 34 </body>
29</html> 35</html>