You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I following the modules guide, creating my first module, the navigation link never gets added to the left sidebar nav however you can access via the URL and it works fine.
Okay so I accidentally named my module sample_model when it should have been named sample_models and everything inside the module referred to sample_model. This included the incorrect :controller key which was the issue here.
Current behaviour:
Accessing the pages via the URL was working correctly with the exception of the navigation not showing up. I assume this was because it falls back to the default alchemy defined controller if one is not found.
Desired behaviour:
It would be better if the register_module method would throw an error if the specified :controller is not defined. Instead of simply not showing the navigation link.
I following the modules guide, creating my first module, the navigation link never gets added to the left sidebar nav however you can access via the URL and it works fine.
Steps to reproduce
Create a module
Expected behavior
Should provide a navigation link in the sidebar
Actual behavior
No navigation link in the sidebar
System configuration
Gemfile.lock
The text was updated successfully, but these errors were encountered: