diff options
author | Robin Houston <robin.houston@gmail.com> | 2012-05-24 13:12:05 +0100 |
---|---|---|
committer | Robin Houston <robin.houston@gmail.com> | 2012-06-06 19:34:57 +0100 |
commit | 67d2a6c466a1167fa0343e256d73bc89ec27ebdf (patch) | |
tree | b741de3cdf4511f3653d38393e7fa21be076ca88 /app/controllers/api_controller.rb | |
parent | 87098bd183fcf59ba038f1cebef68356e6d57ed5 (diff) |
Reorder methods
Diffstat (limited to 'app/controllers/api_controller.rb')
-rw-r--r-- | app/controllers/api_controller.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/controllers/api_controller.rb b/app/controllers/api_controller.rb index 538dade3f..205ad1c3b 100644 --- a/app/controllers/api_controller.rb +++ b/app/controllers/api_controller.rb @@ -1,10 +1,6 @@ class ApiController < ApplicationController before_filter :check_api_key - def create_request - - end - def show_request @request = InfoRequest.find(params[:id]) raise PermissionDenied if @request.public_body_id != @public_body.id @@ -29,6 +25,10 @@ class ApiController < ApplicationController render :json => @request_data end + def create_request + + end + def add_correspondence end |