RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: wag0325
How can I list specific tags in route file? I want to create a link and filter specific tags. I want to be able to link the path to specific filtered tags for my posts using link_to. e.g. <%= link_to "Blog", posts_path %>
get 'tags/:tag', to: 'posts#index', as: :tag"