@@ -47,7 +47,7 class BoardsController < ApplicationController | |||||
47 | :include => [:author, {:last_reply => :author}], |
|
47 | :include => [:author, {:last_reply => :author}], | |
48 | :limit => @topic_pages.items_per_page, |
|
48 | :limit => @topic_pages.items_per_page, | |
49 | :offset => @topic_pages.current.offset |
|
49 | :offset => @topic_pages.current.offset | |
50 | @message = Message.new |
|
50 | @message = Message.new(:board => @board) | |
51 | render :action => 'show', :layout => !request.xhr? |
|
51 | render :action => 'show', :layout => !request.xhr? | |
52 | } |
|
52 | } | |
53 | format.atom { |
|
53 | format.atom { |
General Comments 0
You need to be logged in to leave comments.
Login now