diff --git a/devtracker.rb b/devtracker.rb index 6d165bf4..9c9f09f6 100644 --- a/devtracker.rb +++ b/devtracker.rb @@ -29,11 +29,11 @@ include CommonHelpers # Developer Machine: set global settings -set :oipa_api_url, 'http://dfid-oipa.zz-clients.net/api/' +# set :oipa_api_url, 'http://dfid-oipa.zz-clients.net/api/' # Server Machine: set global settings -# set :oipa_api_url, 'http://127.0.0.1:6081/api/' +set :oipa_api_url, 'http://127.0.0.1:6081/api/' #ensures that we can use the extension html.erb rather than just .erb Tilt.register Tilt::ERBTemplate, 'html.erb' @@ -273,7 +273,7 @@ erb :'location/country/index', :layout => :'layouts/layout', :locals => { - :countries => countries.sort_by{ |k| k['recipient_country']['name']} + :countries => countries } end