-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
I generated a Refinery engine called Events for my event content type.
I tried to add it to menu.rb like
config.menu_resources = {:refinery_page=>{:klass=>"Refinery::Page", :title_attr=>"title"}, :refinery_resource=>{:klass=>"Refinery::Resource", :title_attr=>"file_name"}, :refinery_events=>{:klass=>"Refinery::Events", :title_attr=>"event_title"}}
When I try to edit the menu I get this error:
undefined method `all' for Refinery::Events:Module
I use the support-2.1 branch of refinerycms-menus.
Any idea why this error happens?
Huge thanks for the gem btw! ActiveAdmin also needs something similar.
Best Wishes,
Matt
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels