This commit is contained in:
jomo
2013-10-21 05:47:49 +02:00
parent bfe9a1e6f5
commit 778071822a
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ class ForumgroupsController < ApplicationController
end end
else else
flash[:alert] = "You are not allowed to create forums." flash[:alert] = "You are not allowed to create forums."
redirect_to forumgroups_path redirect_to forums_path
end end
end end
+1 -1
View File
@@ -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 %>
<h1><%= @forum.name %></h1> <h1><%= @forum.name %></h1>
<%= link_to "New thread", new_forumthread_path, class: "btn blue" %> <%= link_to "New thread", new_forumthread_path, class: "btn blue" %>
<div id="forum_threads"> <div id="forum_threads">
+1 -1
View File
@@ -19,7 +19,7 @@
<%= link_to root_path do %><li>Home</li><% end %> <%= link_to root_path do %><li>Home</li><% end %>
<%= link_to users_path do %><li>Users</li><% end %> <%= link_to users_path do %><li>Users</li><% end %>
<%= link_to root_path do %><li>Info</li><% end %> <%= link_to root_path do %><li>Info</li><% end %>
<%= link_to forumgroups_path do %><li>Forums</li><% end %> <%= link_to forums_path do %><li>Forums</li><% end %>
<%= link_to root_path do %><li>Donate</li><% end %> <%= link_to root_path do %><li>Donate</li><% end %>
</ul> </ul>
<div class="clear"></div> <div class="clear"></div>