From 111829573d1c048d4c4c4e4d98b114eba9c28196 Mon Sep 17 00:00:00 2001 From: hukl Date: Thu, 19 Feb 2009 22:40:27 +0100 Subject: adding the admin controller and his friends --- app/views/admin/index.html.erb | 5 +++++ app/views/layouts/admin.html.erb | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 app/views/admin/index.html.erb (limited to 'app/views') 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 @@ +

Admin#index

+

Find me in app/views/admin/index.html.erb

+ + +<%= 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 @@ - <%= yield :layout %> + +
+ <%= yield :layout %> +
-- cgit v1.3