Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow "data" key for module navigations
This allows specifying a `data` key in module navigations. That way one can add, for example, `data-turbolinks='false'` to a navigation entry. In a module definition, it looks like this: ``` alchemy_module = { engine_name: 'spree', name: 'solidus', navigation: { controller: 'spree/admin/orders', action: 'index', name: 'Store', image: 'alchemy/solidus/alchemy_module_icon.png', data: { turbolinks: false }, sub_navigation: [ { controller: 'spree/admin/orders', action: 'index', name: 'Orders', } ] } } ```
- Loading branch information