Skip to content

Commit

Permalink
fix(sample): Send correct url params for the room link in booking view
Browse files Browse the repository at this point in the history
  • Loading branch information
ncuillery committed Oct 31, 2014
1 parent 8b26603 commit 876de49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sample/views/booking_day.html
Expand Up @@ -9,7 +9,7 @@
<tbody>
<tr ng-repeat="reservation in between(reservationDate)">
<td>{{reservation.reservationId}}</td>
<td><a ui-sref="room.detail({roomId: reservation.roomId, from: 'booking.day({year:\'2014\', month: \'10\', day: \'14\'})|{{reservationDate.getTime()}}'})">{{getRoom(reservation.roomId).roomNumber}}</a></td>
<td><a ui-sref="room.detail({roomId: reservation.roomId, from: 'booking.day({year:\'{{reservationDate.getFullYear()}}\', month: \'{{reservationDate.getMonth() + 1}}\', day: \'{{reservationDate.getDate()}}\'})|{{reservationDate.getTime()}}'})">{{getRoom(reservation.roomId).roomNumber}}</a></td>
<td><a ui-sref=".detail({reservationId: reservation.reservationId})" class="btn">View</a></td>
</tr>
</tbody>
Expand Down

0 comments on commit 876de49

Please sign in to comment.