Hi all,
I've added few custom states to ImamoPravoZnati.org theme and for one specific state I need to redirect user to the followup form - same as what is done when user selects "Withdrawn" state from classification box.
My code so far:
New status is "correction_requested" by which user asks authority to provide corrected response. The due date is reset from that point.
Based on:
I assume it should be something along lines:
# Redirect user on select Correction Asked to the new outgoing message
if @info_request.calculate_status == 'correction_asked'
redirect_to respond_to_last_url(@info_request)
end
What would be the correct implementation for this? Should it go to model_patches or controller _patches?
Cheers,
Miroslav