Root route bypassing before_action
we have a posts_controller which takes a slug to render the correct page.
posts_controller inherits from application_controller which has a couple of before_actions
routes.rb has the following root
The before_actions are not called when going to localhost:3000 which renders the correct post.
also in the log i don't see the show_post action being called.
What am I missing here?