Skip to content

Commit

Permalink
fix new rooms route in rooms list
Browse files Browse the repository at this point in the history
  • Loading branch information
cristiandouce committed Aug 1, 2012
1 parent 53b67ca commit 1d4d116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/themes/default/room_list.jade
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ block content
each room,index in rooms
- var roomClass = room.online > 0 ? "room-active" : "room-inactive";
- var word = room.online == 1 ? "user" : "users";
a(href='/rooms/' + room.key, class="#{roomClass}", title="#{room.name}")
a(href='/' + room.key, class="#{roomClass}", title="#{room.name}")
| #{room.name.substr(0,20)}
span.users-online
| #{room.online} #{word}
Expand Down

0 comments on commit 1d4d116

Please sign in to comment.