diff options
author | francis <francis> | 2007-10-16 07:11:13 +0000 |
---|---|---|
committer | francis <francis> | 2007-10-16 07:11:13 +0000 |
commit | 05b7cea9340c4ba5a4953cf3ba5b503ee8f43297 (patch) | |
tree | a4a763fa128c347f1369e50334d72e8f064c3769 /app/controllers/request_controller.rb | |
parent | 77b519dcbef4f01bd597c529669ee787d9560490 (diff) |
Change to use h1 as first heading.
Add missing view file for request controller's new action.
Remove spurious /index controller
Diffstat (limited to 'app/controllers/request_controller.rb')
-rw-r--r-- | app/controllers/request_controller.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb index 3b278d728..48dea8e54 100644 --- a/app/controllers/request_controller.rb +++ b/app/controllers/request_controller.rb @@ -4,7 +4,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: request_controller.rb,v 1.3 2007-10-15 22:26:37 louise Exp $ +# $Id: request_controller.rb,v 1.4 2007-10-16 07:11:13 francis Exp $ class RequestController < ApplicationController @@ -16,9 +16,15 @@ class RequestController < ApplicationController @info_request_pages, @info_requests = paginate :info_requests, :per_page => 25, :order => "created_at desc" end + def frontpage end + # Form for creating new request + def new + end + + # Page new form posts to def create # Create both FOI request and the first request message @info_request = InfoRequest.new(params[:info_request]) |