From 778071822aca32c02bd0720cea2e0a68e5d2e1a4 Mon Sep 17 00:00:00 2001 From: jomo Date: Mon, 21 Oct 2013 05:47:49 +0200 Subject: [PATCH] tiny --- app/controllers/forumgroups_controller.rb | 2 +- app/views/forums/show.html.erb | 2 +- app/views/layouts/_head.html.erb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/controllers/forumgroups_controller.rb b/app/controllers/forumgroups_controller.rb index 5b9528c..f3f477e 100644 --- a/app/controllers/forumgroups_controller.rb +++ b/app/controllers/forumgroups_controller.rb @@ -36,7 +36,7 @@ class ForumgroupsController < ApplicationController end else flash[:alert] = "You are not allowed to create forums." - redirect_to forumgroups_path + redirect_to forums_path end end diff --git a/app/views/forums/show.html.erb b/app/views/forums/show.html.erb index 4fddd79..adfdf0b 100644 --- a/app/views/forums/show.html.erb +++ b/app/views/forums/show.html.erb @@ -1,4 +1,4 @@ -<%= link_to "Forums", forumgroups_path %> → <%= link_to @forum.group, @forum.group %> → <%= link_to @forum %> +<%= link_to "Forums", forums_path %> → <%= link_to @forum.group, @forum.group %> → <%= link_to @forum %>

<%= @forum.name %>

<%= link_to "New thread", new_forumthread_path, class: "btn blue" %>
diff --git a/app/views/layouts/_head.html.erb b/app/views/layouts/_head.html.erb index 096d64e..3eed332 100644 --- a/app/views/layouts/_head.html.erb +++ b/app/views/layouts/_head.html.erb @@ -19,7 +19,7 @@ <%= link_to root_path do %>
  • Home
  • <% end %> <%= link_to users_path do %>
  • Users
  • <% end %> <%= link_to root_path do %>
  • Info
  • <% end %> - <%= link_to forumgroups_path do %>
  • Forums
  • <% end %> + <%= link_to forums_path do %>
  • Forums
  • <% end %> <%= link_to root_path do %>
  • Donate
  • <% end %>