diff options
author | francis <francis> | 2007-10-31 12:39:58 +0000 |
---|---|---|
committer | francis <francis> | 2007-10-31 12:39:58 +0000 |
commit | af4055e002f7d9b12ec492e1a9b78a6a6aff5bb3 (patch) | |
tree | f59c9c1c0871bb03a7af1472bda6a67cc469005e /app/controllers/application.rb | |
parent | c023cfab330de526892126ae722d7bfcc1d22c96 (diff) |
Tests for some controllers.
Diffstat (limited to 'app/controllers/application.rb')
-rw-r--r-- | app/controllers/application.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/application.rb b/app/controllers/application.rb index 1410aff29..1fde074a9 100644 --- a/app/controllers/application.rb +++ b/app/controllers/application.rb @@ -6,7 +6,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: application.rb,v 1.18 2007-10-31 12:14:20 francis Exp $ +# $Id: application.rb,v 1.19 2007-10-31 12:39:58 francis Exp $ class ApplicationController < ActionController::Base @@ -142,7 +142,7 @@ class ApplicationController < ActionController::Base # Simplified links to our objects # XXX See controllers/user_controller.rb controllers/body_controller.rb for inverse # XXX consolidate somehow with stuff in helpers/application_helper.rb - # use :helper_method => :your_method_name + helper_method :simplify_url_part def simplify_url_part(text) text.downcase! text.gsub!(/ /, "-") |