Mercurial > hg > soundsoftware-site
comparison app/controllers/.svn/text-base/calendars_controller.rb.svn-base @ 37:94944d00e43c
* Update to SVN trunk rev 4411
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Fri, 19 Nov 2010 13:24:41 +0000 |
parents | 40f7cfd4df19 |
children | cbce1fd3b1b7 |
comparison
equal
deleted
inserted
replaced
22:40f7cfd4df19 | 37:94944d00e43c |
---|---|
6 | 6 |
7 helper :issues | 7 helper :issues |
8 helper :projects | 8 helper :projects |
9 helper :queries | 9 helper :queries |
10 include QueriesHelper | 10 include QueriesHelper |
11 helper :sort | |
12 include SortHelper | |
11 | 13 |
12 def show | 14 def show |
13 if params[:year] and params[:year].to_i > 1900 | 15 if params[:year] and params[:year].to_i > 1900 |
14 @year = params[:year].to_i | 16 @year = params[:year].to_i |
15 if params[:month] and params[:month].to_i > 0 and params[:month].to_i < 13 | 17 if params[:month] and params[:month].to_i > 0 and params[:month].to_i < 13 |