diff options
-rw-r--r-- | app/controllers/request_controller.rb | 8 | ||||
-rw-r--r-- | todo.txt | 4 |
2 files changed, 5 insertions, 7 deletions
diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb index 382575a06..49b19ba37 100644 --- a/app/controllers/request_controller.rb +++ b/app/controllers/request_controller.rb @@ -188,14 +188,14 @@ class RequestController < ApplicationController return end - # ... next any tags - if params[:tags] - params[:info_request][:tag_string] = params[:tags] - end + # ... next any tags or other things + params[:info_request][:title] = params[:title] if params[:title] + params[:info_request][:tag_string] = params[:tags] if params[:tags] @info_request = InfoRequest.new(params[:info_request]) params[:info_request_id] = @info_request.id params[:outgoing_message] = {} if !params[:outgoing_message] + params[:outgoing_message][:body] = params[:body] if params[:body] params[:outgoing_message][:info_request] = @info_request @outgoing_message = OutgoingMessage.new(params[:outgoing_message]) @outgoing_message.set_signature_name(@user.name) if !@user.nil? @@ -1,7 +1,5 @@ -new_request_to_body -request_id +Something nice to wrap salutation round it -Allow URL name in new request API Tag search |