Skip to content

Instantly share code, notes, and snippets.

@skanev
Created March 26, 2013 10:08
Show Gist options
  • Select an option

  • Save skanev/5244311 to your computer and use it in GitHub Desktop.

Select an option

Save skanev/5244311 to your computer and use it in GitHub Desktop.
Best Commit Ever
commit 79985f579cbe84722fde40a27271d513c2083d4a
Author: Stefan Kanev <[email protected]>
Date: Tue Mar 26 12:06:58 2013 +0200
Update current year
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index 2cb2c01..e48b724 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -56,7 +56,7 @@ class ApplicationController < ActionController::Base
end
def get_current_year
- @current_year = 2011
+ @current_year = 2012
end
# For now, all pages are cached for 30 mins (this will be done by Varnish on Heroku)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment