I'm building a custom tab on spree 2.1 and I have this on my Deface override which works fine, but when I try to click on my tab being already on this tab it goes to the url /admin/admin/places. So I need this to go always to /admin/places.
Found this https://codeclimate.com/github/spree/spree/Spree::Admin::NavigationHelper and it says that the tab take the first argument and make the path admin_places_path.
:insert_after => "[data-hook='admin_tabs']",
:text => "<%= tab :places, :icon => 'icon-th-large'%>"
I tried the usually :url param with 'admin/places' but got the same result and was looking for the tab implementation which led me to the codeclimate and now here. Anyone know how to avoid this ?