I have followed this guide to generate a new module called Users. I have updated the icon to be:
config/initializers/alchemy_user.rb
image: 'alchemy/users_module.png'
I have placed the image to app/assets/images/alchemy/users_module.rb
But the icon does not show in the left sidebar. I can navigate to /admin/users by typing the adres manually in the address bar.
What am I missing?
I have other modules for other models in my app, i.e. hospitals, doctors, etc. and they do appear in the left sidebar with icons.
What do I need to do in order for the new module to appear in the left sidebar?
With the help of the guys from Alchemy CMS on their Slack channel I was able to resolve this.
I had a typoo in
alchemy_user.rband was missing a rule inUserAbility.alchemy_user.rb
Instead
it should be
And in
user_ability.rbcan :manage, :admin_users