Skip to content

Commit

Permalink
Merge branch 'master' of github.com:alphagov/calendars
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanHatch committed Jan 16, 2012
2 parents 142b5c5 + 9b0900d commit 4ed4433
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ source 'http://rubygems.org'
source 'https://gems.gemfury.com/vo6ZrmjBQu5szyywDszE/'

gem 'rails', '3.1.3'
gem 'gds-warmup-controller'

group :router do
gem 'router-client', '2.0.3', :require => 'router/client'
Expand Down
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ GEM
gds-api-adapters (0.0.32)
null_logger
plek
gds-warmup-controller (0.0.2)
rails (>= 3.0.0)
gelf (1.1.3)
json
graylog2_exceptions (1.3.0)
Expand Down Expand Up @@ -180,6 +182,7 @@ DEPENDENCIES
exception_notification
factory_girl_rails
gds-api-adapters (~> 0.0.32)
gds-warmup-controller
gelf
graylog2_exceptions
jquery-rails
Expand Down
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Calendars::Application.routes.draw do

match '/warmup', controller: "GdsWarmupController::Warmup", action: :index
match '/:scope', :to => 'calendar#index', :as => :calendars

match '/:scope/:division-:year', :to => 'calendar#show', :as => :calendar, :constraints => { :year => /[0-9]{4}/ }
Expand Down

0 comments on commit 4ed4433

Please sign in to comment.