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
add granite action in engines/engine_name/config/routes.rb:
EngineName::Engine.routes.draw do
resources :somethings, only: [] do
member do
granite 'engine_name/somethings/action_name#modal'
end
end
end
get an exception when linking
Seems like EngineName::Somethings::ActionName::ModalProjector was not mounted. Do you have engine_name/somethings/action_name#modal declared in routes?
Steps to reproduce
engines/engine_name/config/routes.rb
:The answer is: yes, I have it declared but the engine is isolated and the granite cache does not seem to handle it:
Resources
The text was updated successfully, but these errors were encountered: