index
:
Ruby-Web-Sessions-Exercise
master
solution
An exercise that demonstrates how to leverage server-side web sessions for authentication
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
app.rb
4
1 files changed, 4 insertions, 0 deletions
diff --git a/app.rb b/app.rb
index 8e51fee..5533c06 100644
--- a/
app.rb
+++ b/
app.rb
@@ -5,4 +5,8 @@ class App < Sinatra::Base
get '/' do
erb :index
end
+
+ post '/' do
+ 'POST works'
+ end
end