diff options
Diffstat (limited to 'src/actions/sign_ins/delete.cr')
-rw-r--r-- | src/actions/sign_ins/delete.cr | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/actions/sign_ins/delete.cr b/src/actions/sign_ins/delete.cr new file mode 100644 index 0000000..8d34612 --- /dev/null +++ b/src/actions/sign_ins/delete.cr @@ -0,0 +1,7 @@ +class SignIns::Delete < BrowserAction + delete "/sign_out" do + sign_out + flash.info = "You have been signed out" + redirect to: SignIns::New + end +end |