diff --git a/app/views/blogposts/show.html.erb b/app/views/blogposts/show.html.erb index 57532dc..79a8c21 100644 --- a/app/views/blogposts/show.html.erb +++ b/app/views/blogposts/show.html.erb @@ -1,6 +1,6 @@ <% title "#{@post.title}" %> -<%= link_to "News", blogposts_path %> → <%= link_to @post.title %> +<%= link_to "News", blogposts_path %> → <%= @post.title %>

<%= truncate(@post.title, length: 60, omission: " …") %>

diff --git a/app/views/forums/edit.html.erb b/app/views/forums/edit.html.erb index 990bdf9..60b3fb1 100644 --- a/app/views/forums/edit.html.erb +++ b/app/views/forums/edit.html.erb @@ -1,6 +1,6 @@ <% title "Edit Forum: #{@forum.name}" %> -<%= link_to "(Edit) #{@forum.group.name}", edit_forumgroup_path(@forum.group) %> → <%= link_to @forum.name, @forum %> +<%= link_to "(Edit) #{@forum.group.name}", edit_forumgroup_path(@forum.group) %> → <%= @forum.name %>

Edit Forum

<% role_selection = Role.all_from_to(:normal, :admin).collect{|p|[p.name, p.id]} %> <%= form_for @forum do |f|%> diff --git a/app/views/forums/show.html.erb b/app/views/forums/show.html.erb index f6a64cc..6602f31 100644 --- a/app/views/forums/show.html.erb +++ b/app/views/forums/show.html.erb @@ -1,6 +1,6 @@ <% title @forum.name %> -<%= link_to @forum.group, forumgroup_path(@forum.group) %> → <%= link_to @forum %> +<%= link_to @forum.group, forumgroup_path(@forum.group) %> → <%= @forum %>

<%= @forum %>

<% if @forum.can_write?(current_user) %> diff --git a/app/views/forumthreads/show.html.erb b/app/views/forumthreads/show.html.erb index b07908b..71758bf 100644 --- a/app/views/forumthreads/show.html.erb +++ b/app/views/forumthreads/show.html.erb @@ -1,4 +1,4 @@ -<%= link_to @thread.forum.group, forumgroup_path(@thread.forum.group) %> → <%= link_to @thread.forum, @thread.forum %> → <%= link_to truncate(@thread.title, length: 60, omission: " …") %> +<%= link_to @thread.forum.group, forumgroup_path(@thread.forum.group) %> → <%= link_to @thread.forum, @thread.forum %> → <%=truncate(@thread.title, length: 60, omission: " …") %>

<%= title @thread.title %>