Skip to content

Commit

Permalink
go_home if logged and tried enter on login page.
Browse files Browse the repository at this point in the history
  • Loading branch information
19WAS85 committed Jul 28, 2010
1 parent 405a2c6 commit 412cf4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app.rb
Expand Up @@ -30,6 +30,7 @@
end

get '/login' do
go_home if logged?
erb :login
end

Expand Down

0 comments on commit 412cf4c

Please sign in to comment.