Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## TODO: Make this DRY!!
- get '/:channel' do
- @channel = params[:channel]
- redirect "/#{@channel}/#{relative_day('today')}"
- end
- ## TODO: Make this DRY!!
- get '/:channel/' do
- @channel = params[:channel]
- redirect "/#{@channel}/#{relative_day('today')}"
- end
Add Comment
Please, Sign In to add comment