Remove useless pagination routes (#351)
Rocket 0.4 let us have routes with optional query parameter
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
<i class="icon icon-home" aria-label="@i18n!(ctx.1, "Dashboard")"></i>
|
||||
<span class="mobile-label">@i18n!(ctx.1, "Dashboard")</span>
|
||||
</a>
|
||||
<a href="@uri!(notifications::notifications)">
|
||||
<a href="@uri!(notifications::notifications: page = _)">
|
||||
<i class="icon icon-bell" aria-label="@i18n!(ctx.1, "Notifications")"></i>
|
||||
<span class="mobile-label">@i18n!(ctx.1, "Notifications")</span>
|
||||
</a>
|
||||
@@ -47,7 +47,7 @@
|
||||
<span class="mobile-label">@i18n!(ctx.1, "My account")</span>
|
||||
</a>
|
||||
} else {
|
||||
<a href="@uri!(session::new)">
|
||||
<a href="@uri!(session::new: m = _)">
|
||||
<i class="icon icon-log-in"></i>
|
||||
<span class="mobile-label">@i18n!(ctx.1, "Log In")</span>
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user