aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/controllers/new_controller.rb (renamed from app/controllers/file_request_controller.rb)6
-rw-r--r--app/helpers/file_request_helper.rb2
-rw-r--r--app/helpers/new_helper.rb2
-rw-r--r--app/views/new/create.rhtml (renamed from app/views/file_request/create.rhtml)0
-rw-r--r--app/views/new/index.rhtml (renamed from app/views/file_request/index.rhtml)0
-rw-r--r--config/routes.rb4
6 files changed, 7 insertions, 7 deletions
diff --git a/app/controllers/file_request_controller.rb b/app/controllers/new_controller.rb
index bfb2c27be..1952ace06 100644
--- a/app/controllers/file_request_controller.rb
+++ b/app/controllers/new_controller.rb
@@ -1,12 +1,12 @@
-# app/controllers/file_request_controller.rb:
+# app/controllers/new_controller.rb:
# Interface for building a new FOI request.
#
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: francis@mysociety.org; WWW: http://www.mysociety.org/
#
-# $Id: file_request_controller.rb,v 1.11 2007-10-03 17:13:50 francis Exp $
+# $Id: new_controller.rb,v 1.1 2007-10-08 14:58:27 francis Exp $
-class FileRequestController < ApplicationController
+class NewController < ApplicationController
def index
# render index.rhtml template
end
diff --git a/app/helpers/file_request_helper.rb b/app/helpers/file_request_helper.rb
deleted file mode 100644
index fc398dab7..000000000
--- a/app/helpers/file_request_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module FileRequestHelper
-end
diff --git a/app/helpers/new_helper.rb b/app/helpers/new_helper.rb
new file mode 100644
index 000000000..5e5040e71
--- /dev/null
+++ b/app/helpers/new_helper.rb
@@ -0,0 +1,2 @@
+module NewHelper
+end
diff --git a/app/views/file_request/create.rhtml b/app/views/new/create.rhtml
index 8220705ca..8220705ca 100644
--- a/app/views/file_request/create.rhtml
+++ b/app/views/new/create.rhtml
diff --git a/app/views/file_request/index.rhtml b/app/views/new/index.rhtml
index 84d0198bc..84d0198bc 100644
--- a/app/views/file_request/index.rhtml
+++ b/app/views/new/index.rhtml
diff --git a/config/routes.rb b/config/routes.rb
index 906466a19..cb0ad52ec 100644
--- a/config/routes.rb
+++ b/config/routes.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: routes.rb,v 1.6 2007-09-03 09:39:21 francis Exp $
+# $Id: routes.rb,v 1.7 2007-10-08 14:58:28 francis Exp $
ActionController::Routing::Routes.draw do |map|
# The priority is based upon order of creation: first created -> highest priority.
@@ -12,7 +12,7 @@ ActionController::Routing::Routes.draw do |map|
# Sample of regular route:
# map.connect 'products/:id', :controller => 'catalog', :action => 'view'
# Keep in mind you can assign values other than :controller and :action
- map.connect "/new/:action", :controller => 'file_request', :action => 'index'
+ map.connect "/new/:action", :controller => 'new', :action => 'index'
map.connect '/admin/:action', :controller => 'admin', :action => 'index'
map.connect '/admin/body/:action/:id', :controller => 'admin_public_body'