Finished chapter 11
[depot.git] / app / views / admin / index.html.erb
diff --git a/app/views/admin/index.html.erb b/app/views/admin/index.html.erb
new file mode 100644 (file)
index 0000000..ec658d4
--- /dev/null
@@ -0,0 +1,4 @@
+
+<h1>Welcome, <%= User.find(session[:user_id]).name  %></h1>
+It's <%= Time.now %>.
+We have <%= pluralize(@total_orders, "order" ) %>.
\ No newline at end of file