A misunderstanding has occurred.
That enable notifications button just needs an onClick handler, not an entirely new route.
```
<a href="#notifications/enable/1"><button><%=  MM.lang.s("enablenotifications") %></button></a>
```
should become:
```
<a href='#' id='enable-notifications' class='button'><%= MM.lang.s('enablenotifications') %></a>
```
then in the JS:
```
$(document).find('#enable-notifications').on('click', MM.plugins.notifications._enableNotifications);
_enableNotifications: function() {
  // We have clicked the link to enable, so we know we need to enable the notifcations. No value checking needed.
}
```