diff --git a/app/controllers/forums_controller.rb b/app/controllers/forums_controller.rb index fdb71892b..f524048b4 100644 --- a/app/controllers/forums_controller.rb +++ b/app/controllers/forums_controller.rb @@ -18,7 +18,9 @@ class ForumsController < ApplicationController @memos = @forum.topics respond_to do |format| - format.html # show.html.erb + format.html { + render :layout => 'base_forums' + }# show.html.erb format.json { render json: @forum } end end diff --git a/app/views/forums/show.html.erb b/app/views/forums/show.html.erb index 60ded0524..1d12ab6db 100644 --- a/app/views/forums/show.html.erb +++ b/app/views/forums/show.html.erb @@ -11,17 +11,5 @@ <%= link_to 'Edit', edit_forum_path(@forum) %> | <%= link_to 'Back', forums_path %> <%= link_to 'new_topic', new_forum_memo_path(@forum) %> -
subject | -content | -author | -
---|---|---|
<%= link_to memo.subject, forum_memo_path(memo) %> | -<%= memo.content %> | -<%= memo.author %> | -