From cde35e3461bf49a4b32aefca7b8556e344c8090e Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 4 Mar 2014 18:48:38 -0500 Subject: login/logout buttons --- app/views/common/_signout.html.erb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 app/views/common/_signout.html.erb (limited to 'app/views/common') 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 +%> -- cgit v1.2.3-2-g168b