<div class="filter-buttons">
<%= link_to "All", root_path(filter: 'all'), class: "button #{@filter == 'all' ? 'active' : ''}" %>
- <%= link_to "Posts", root_path(filter: 'posts'), class: "button #{@filter == 'posts' ? 'active' : ''}" %>
+ <%= link_to "Dispatches", root_path(filter: 'posts'), class: "button #{@filter == 'posts' ? 'active' : ''}" %>
<%= link_to "Bookmarks", root_path(filter: 'bookmarks'), class: "button #{@filter == 'bookmarks' ? 'active' : ''}" %>
<% if current_user&.admin? %>
<%= link_to "Manage Posts", posts_path, class: "button" %>