lib/goatmail/views/index.erb in goatmail-1.1.0 vs lib/goatmail/views/index.erb in goatmail-1.1.1

- old
+ new

@@ -1,9 +1,9 @@ <div class='navbar navbar-fixed-top header'> <div class='container'> <div class='navbar-header'> - <a class='navbar-brand' href="<%= root_path %>">Goatmail</a> + <a class='navbar-brand' href="<%= root_path %>"><%= title %></a> </div> </div> </div> <div class='navbar navbar-default navbar-fixed-top navbar-action'> <div class='container'> @@ -37,10 +37,10 @@ <ul class="list-group message_list"> <% @messages.each do |message| %> <li class="list-group-item message"> <input id="message_<%= message.id %>" name="message_ids[]" type="checkbox" value="<%= message.id %>" /> <label for="message_<%= message.id %>"></label> - <a href="<%= root_path + message.id %>" target='mail'> + <a href="<%= root_path + message.path %>" target='mail'> <dl> <dt><%=h message.meta[:subject] || message.id %></dt> <dd class="text-right"><small><%= message.sent_at %></small></dd> </dl> </a>