Initial start on plan refactor

This commit is contained in:
Kyle Drake 2014-10-24 16:26:32 -07:00
parent 31c43c3170
commit 9c5337edae

11
app.rb
View file

@ -267,6 +267,16 @@ get '/plan/?' do
erb :'plan/index'
end
get '/plan/create' do
erb :''
end
=begin
get '/plan/?' do
@title = 'Supporter'
erb :'plan/index'
end
post '/plan/create' do
require_login
@ -345,6 +355,7 @@ post '/plan/end' do
redirect '/plan'
end
=end
get '/site/:username/tip' do |username|
@site = Site[username: username]