ordinary routes in main layout don't work when navigating to mounted engine path
21 views
Skip to first unread message
fugee ohu
unread,
Jan 24, 2018, 4:25:27 AM1/24/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails: Talk
I installed a gem (blogit) so in my routes I mount it with mount Blogit::Engine => "/blog" but then all the regular routes in my main layout stop working with messages like undefined local variable or method `new_user_session_path' for #<#<Class:0x000000053d63f0>:0x007f96d1235a40>
Thanks for reading and in advance if you can help
Walter Lee Davis
unread,
Jan 24, 2018, 9:06:00 AM1/24/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
> On Jan 24, 2018, at 4:25 AM, fugee ohu <fuge...@gmail.com> wrote:
>
> I installed a gem (blogit) so in my routes I mount it with mount Blogit::Engine => "/blog" but then all the regular routes in my main layout stop working with messages like undefined local variable or method `new_user_session_path' for #<#<Class:0x000000053d63f0>:0x007f96d1235a40>
> Thanks for reading and in advance if you can help
>
>