Contact info honors contact code

This commit is contained in:
Priit Tark 2015-05-05 14:10:31 +03:00
parent b0e5e73f6f
commit 4ea983c865
2 changed files with 16 additions and 1 deletions

View file

@ -59,7 +59,7 @@ class Epp::ContactsController < EppController
end
def find_contact
code = params[:parsed_frame].css('id').text.strip.downcase
code = params[:parsed_frame].css('id').text.strip
@contact = Epp::Contact.find_by(code: code)
if @contact.blank?