From 67d2a6c466a1167fa0343e256d73bc89ec27ebdf Mon Sep 17 00:00:00 2001 From: Robin Houston Date: Thu, 24 May 2012 13:12:05 +0100 Subject: Reorder methods --- app/controllers/api_controller.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'app/controllers/api_controller.rb') 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 -- cgit v1.2.3