Flow router page loading problem

i have created a menu using this html code and flow router



when i click on this links route affects and the location reloads every time. why it is happening …?

another point is when i am doing same thing to another template like this

{{#each userList}} <tr> <td>{{username}}</td> <td>{{roles}}</td> <td>{{profile.location}}</td> <td align="center"><a class="btn btn-primary" href="/user/EditUser/{{_id}}" ><i class="fa fa-pencil-square-o"></i></a></td> <td align="center"><button class="btn btn-danger" id="deleteUser" data-userid="{{_id}}"><i class="fa fa-trash"></i></button></td> </tr> {{/each}}

it directly goes to location without any reload. why it is happening…

please help.

i found out there was a bug in my code. solved