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 %>