home test

Ruby code posted by YY
created at 29 Dec 22:49, updated at 30 Dec 00:38

Edit | Back
1
2
3
4
5
6
7
get '/new' do
         if session["username"]
                          haml :new
    else
    redirect '/login'
    end
  end
132 Bytes in 2 ms with coderay