diff options
author | Robin Houston <robin@lenny.robin> | 2011-07-13 23:07:01 +0100 |
---|---|---|
committer | Robin Houston <robin@lenny.robin> | 2011-07-13 23:07:01 +0100 |
commit | 4f3f88db01057af00db2796cd5a996e7f69fc8cd (patch) | |
tree | 4f0fa4e80e8d01af0502bcc5d42b91a9c409bae7 | |
parent | 0333d70ee61cebe3eacfa373473186950027616c (diff) |
Inconsistent whitespace
-rw-r--r-- | app/views/request/_request_listing_single.rhtml | 10 | ||||
-rw-r--r-- | config/routes.rb | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/app/views/request/_request_listing_single.rhtml b/app/views/request/_request_listing_single.rhtml index a300010cd..94a613a30 100644 --- a/app/views/request/_request_listing_single.rhtml +++ b/app/views/request/_request_listing_single.rhtml @@ -1,9 +1,9 @@ <div class="request_listing"> - <span class="head"> - <%= link_to h(info_request.title), (@play_urls ? "/categorise" : "") + request_url(info_request) %> - </span> - <span class="desc"> - <%= excerpt(info_request.initial_request_text, "", 150) %> + <span class="head"> + <%= link_to h(info_request.title), (@play_urls ? "/categorise" : "") + request_url(info_request) %> + </span> + <span class="desc"> + <%= excerpt(info_request.initial_request_text, "", 150) %> </span> <span class="bottomline icon_<%= info_request.calculate_status %>"> <strong> diff --git a/config/routes.rb b/config/routes.rb index ec0e24f67..175a37a82 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -17,7 +17,7 @@ ActionController::Routing::Routes.draw do |map| map.with_options :controller => 'general' do |general| general.frontpage '/', :action => 'frontpage' general.blog '/blog', :action => 'blog' - general.custom_css '/stylesheets/custom.css', :action => 'custom_css' + general.custom_css '/stylesheets/custom.css', :action => 'custom_css' general.search_redirect '/search', :action => 'search_redirect' # XXX combined is the search query, and then if sorted a "/newest" at the end. # Couldn't find a way to do this in routes which also picked up multiple other slashes @@ -114,8 +114,8 @@ ActionController::Routing::Routes.draw do |map| help.help_officers '/help/officers', :action => 'officers' help.help_requesting '/help/requesting', :action => 'requesting' help.help_privacy '/help/privacy', :action => 'privacy' - help.help_api '/help/api', :action => 'api' - help.help_credits '/help/credits', :action => 'credits' + help.help_api '/help/api', :action => 'api' + help.help_credits '/help/credits', :action => 'credits' help.help_general '/help/:action', :action => :action end |