Commit c1d16ff7440bfd34c67c42f205894a004c013d5c
1 parent
f80ead18
Exists in
master
and in
5 other branches
Fix hardcoded link from complete your profile
Signed-off-by: Arthur Del Esposte <arthurmde@gmail.com> Signed-off-by: Luciano Prestes <lucianopcbr@gmail.com>
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
views/incomplete_registration.html.erb
@@ -4,7 +4,7 @@ | @@ -4,7 +4,7 @@ | ||
4 | <div><%= _("Complete Profile")+": <span>#{@percentege}</span>%" %></div> | 4 | <div><%= _("Complete Profile")+": <span>#{@percentege}</span>%" %></div> |
5 | <canvas id="complete_registration_percentage" width="100%" height="20"></canvas> | 5 | <canvas id="complete_registration_percentage" width="100%" height="20"></canvas> |
6 | <div> | 6 | <div> |
7 | - <%= link_to _("Complete your profile"), { :profile=>@person.identifier, :controller=>"profile_editor", :action=> "edit" } %> | | 7 | + <%= link_to _("Complete your profile"), "#{Noosfero.root}/myprofile/#{@person.identifier}/profile_editor/edit" %> | |
8 | <%= link_to _("Hide"), "#", :class=>"hide-incomplete-percentage" %> | 8 | <%= link_to _("Hide"), "#", :class=>"hide-incomplete-percentage" %> |
9 | </div> | 9 | </div> |
10 | </div> | 10 | </div> |