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
rails g web_app_theme:themed admin/posts Post --layout=admin --engine=haml
Isn't working properly, it's just a small bug. When you run the above command it does create all the views properly, however, the --layout=admin doesn't add the "Posts" link in my navigation bar. It does do it when I use --engine=erb.
It probably cannot find the match and thus, ignores it completely. Do you see where this is failing? It's not a show stopper as I can just manually add them to the layout but it's a nice feature to have it do it for you. : )
The text was updated successfully, but these errors were encountered:
Isn't working properly, it's just a small bug. When you run the above command it does create all the views properly, however, the
--layout=admin
doesn't add the "Posts" link in my navigation bar. It does do it when I use--engine=erb
.The problem I believe is somewhere in this block:
https://github.com/pilu/web-app-theme/blob/master/lib/generators/web_app_theme/themed/themed_generator.rb
It probably cannot find the
match
and thus, ignores it completely. Do you see where this is failing? It's not a show stopper as I can just manually add them to the layout but it's a nice feature to have it do it for you. : )The text was updated successfully, but these errors were encountered: