-
Notifications
You must be signed in to change notification settings - Fork 36
Closed
Description
Having issues getting this to work.
Note: we have 3x different namespaces for different Active Admin interfaces. (Admin2, Super, Custom).
admin2/flag.rb
form do |f|
f.semantic_errors
f.inputs do
f.input :assigned_user, as: :searchable_select, ajax: { resource: User }
f.input :admin_notes
end
f.actions
end
admin2/user.rb
searchable_select_options(scope: User.all, text_attribute: :username)
When that's setup like that, I get the following error:
undefined method `all_options_admin_users_path' for #<#<Class:0x00007fc178072b50>:0x00007fc178062b88>
Did you mean? all_options_admin2_users_path
all_options_admin2_users_url
Suggestions? Thanks!
Metadata
Metadata
Assignees
Labels
No labels