Created
August 1, 2008 14:43
-
-
Save kematzy/3627 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## I think these minor changes should fix some of the issues, | |
diff --git a/irclogger.rb b/irclogger.rb | |
index 7f5a1fb..b78be3b 100644 | |
--- a/irclogger.rb | |
+++ b/irclogger.rb | |
@@ -57,6 +57,7 @@ get '/' do | |
end | |
get '/:channel/' do | |
+ @channel = params[:channel] | |
redirect "/#{@channel}/#{relative_day('today')}" | |
end | |
diff --git a/views/index.erb b/views/index.erb | |
index d9faee9..ca22a38 100644 | |
--- a/views/index.erb | |
+++ b/views/index.erb | |
@@ -1,2 +1,2 @@ | |
-Go to /sinatra for logs of #sinatra! | |
+<p>Go to <a href="http://irclogger.com/sinatra/">/sinatra/</a> for logs of #sinatra!</p> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment