summaryrefslogtreecommitdiff
path: root/app/views/common/_signout.html.erb
diff options
context:
space:
mode:
authorguntasgrewal <guntasgrewal@gmail.com>2014-03-04 18:53:04 -0500
committerguntasgrewal <guntasgrewal@gmail.com>2014-03-04 18:53:04 -0500
commitaebb2153938d884ac2c2f3516f682c987b4805ca (patch)
tree369b54c3b1f495ee7f54d06691c00f9ff26e3df5 /app/views/common/_signout.html.erb
parent66d5669dbcc042317ca5d10759276ea5813f7081 (diff)
parent4cdd4e361ad691d524f9ee6163b40ef78d9938c4 (diff)
Merge branch 'master' of https://github.com/LukeShu/leaguer
Diffstat (limited to 'app/views/common/_signout.html.erb')
-rw-r--r--app/views/common/_signout.html.erb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/common/_signout.html.erb b/app/views/common/_signout.html.erb
new file mode 100644
index 0000000..2bdda0c
--- /dev/null
+++ b/app/views/common/_signout.html.erb
@@ -0,0 +1,5 @@
+<%=
+form_tag(sessions_path+"/current", method: "delete") do
+ submit_tag("Sign out", :class => "signout")
+end
+%>