headwayio / voyage

A Rails template with our standard defaults, ready to deploy to Heroku. **See readme in: lib/voyage/README.md**
https://headway.io/voyage
MIT License
0 stars 1 forks source link

Data no-turbolinks on admin link for administrate #71

Closed jondkinney closed 6 years ago

jondkinney commented 6 years ago

Otherwise the JS and styles get carried over

noahsettersten commented 6 years ago

I believe this is in place already: https://github.com/headwayio/voyage/blob/master/lib/voyage/templates/navigation.html.erb#L10

 <%%= active_link_to 'Admin', admin_users_path, data: { no_turbolink: true } %>

We'll have to review if it isn't working as expected.

noahsettersten commented 6 years ago

I've updated this to the latest Turbolinks 5 syntax as provided by @GeekOnCoffee and it will be in a PR shortly.