|
|
|
@ -148,7 +148,8 @@ class MemosController < ApplicationController
|
|
|
|
|
|
|
|
|
|
def find_memo
|
|
|
|
|
return unless find_forum
|
|
|
|
|
@memo = @forum.memos.find(params[:id])
|
|
|
|
|
#@memo = @forum.memos.find(params[:id])
|
|
|
|
|
@memo = Memo.find(params[:id])
|
|
|
|
|
rescue ActiveRecord::RecordNotFound
|
|
|
|
|
render_404
|
|
|
|
|
nil
|
|
|
|
|