diff options
author | Edmund von der Burg <evdb@mysociety.org> | 2011-02-24 17:11:13 +0000 |
---|---|---|
committer | Edmund von der Burg <evdb@mysociety.org> | 2011-02-24 17:11:13 +0000 |
commit | 94656b126a0c22ce1f37564265d05330d689bf5c (patch) | |
tree | 6f704140b4081e66d581acfab08677af5b6cb3e4 | |
parent | e8413b70e5767ed5c9e7adab2233529d4dc4b515 (diff) |
Remane method and template files - don't want too many index.html files
-rw-r--r-- | perllib/FixMyStreet/App/Controller/About.pm | 6 | ||||
-rw-r--r-- | templates/web/default/about/about.html (renamed from templates/web/default/about/index.html) | 0 | ||||
-rw-r--r-- | templates/web/emptyhomes/about/about.html (renamed from templates/web/emptyhomes/about/index.html) | 0 |
3 files changed, 4 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App/Controller/About.pm b/perllib/FixMyStreet/App/Controller/About.pm index 42a0ed18e..b444e02bb 100644 --- a/perllib/FixMyStreet/App/Controller/About.pm +++ b/perllib/FixMyStreet/App/Controller/About.pm @@ -16,11 +16,13 @@ Catalyst Controller. =cut -=head2 index +=head2 about + +Show the 'about us' page. =cut -sub index : Path : Args(0) { +sub about : Path : Args(0) { my ( $self, $c ) = @_; # don't need to do anything here - should just pass through. diff --git a/templates/web/default/about/index.html b/templates/web/default/about/about.html index dee9fe94c..dee9fe94c 100644 --- a/templates/web/default/about/index.html +++ b/templates/web/default/about/about.html diff --git a/templates/web/emptyhomes/about/index.html b/templates/web/emptyhomes/about/about.html index 880f69b98..880f69b98 100644 --- a/templates/web/emptyhomes/about/index.html +++ b/templates/web/emptyhomes/about/about.html |