Skip to content

Commit 89044e8

Browse files
committed
layout now uses slug
1 parent 1957d3f commit 89044e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

views/layout.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
%a{:href => "/download"} Download
5050
|
5151
%li{:style => "display:inline"}
52-
%a{:href => "/hackers/#{current_user.username.to_slug}"} My Page
52+
%a{:href => "/hackers/#{current_user.slug}"} My Page
5353
|
5454
%li{:style => "display:inline"}
5555
%a{:href => "/logout"} Log out

0 commit comments

Comments
 (0)