Is there any way I can order the menu items dynamically?
So
primary.item :account, 'Home', home_path
primary.item :account, 'Account', account_path
primary.item :account, 'Store', store_path
would become:
primary.item :account, 'Account', account_path
primary.item :account, 'Store', store_path
primary.item :account, 'Home', home_path
if needed.
Many thanks,
Mike