summaryrefslogtreecommitdiff
path: root/app/views/sessions/show.html.erb
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-03-05 20:45:29 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-03-05 20:45:29 -0500
commit0d710239a765787f10de304edc438de2dfaa9824 (patch)
tree69f60c7b7f6909b6bc4d4805d5473d56cffa3e81 /app/views/sessions/show.html.erb
parent11e4de6fd8235b1877b1725d53a98f017130c768 (diff)
make a session model as well as controller
Diffstat (limited to 'app/views/sessions/show.html.erb')
-rw-r--r--app/views/sessions/show.html.erb9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/sessions/show.html.erb b/app/views/sessions/show.html.erb
new file mode 100644
index 0000000..5176869
--- /dev/null
+++ b/app/views/sessions/show.html.erb
@@ -0,0 +1,9 @@
+<p id="notice"><%= notice %></p>
+
+<p>
+ <strong>User:</strong>
+ <%= @session.user %>
+</p>
+
+<%= link_to 'Edit', edit_session_path(@session) %> |
+<%= link_to 'Back', sessions_path %>