Commit dc057617 authored by Mateus Ravedutti's avatar Mateus Ravedutti

Fix current place variable for professionals

parent 6774f032
......@@ -114,8 +114,7 @@ class ProfessionalsController < ApplicationController
@roles.pop
if @currentProfessionalServicePlace.role == "adm_local"
@roles.pop
@current_place = @currentProfessionalServicePlace.service_place.name
@current_service_place = @currentProfessionalServicePlace.service_place
@current_place = @currentProfessionalServicePlace.service_place
end
@places = ServicePlace.active.where(:city_hall => @currentCityHall).order('name ASC')
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment