Skip to content

Commit

Permalink
Add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
jadeforrest committed Dec 19, 2009
1 parent 82b09f2 commit 05b7f6a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/controllers/forums_messages_controller.rb
Expand Up @@ -42,6 +42,15 @@ def create
@message = ForumsMessage.new(params[:message])
@message.posting_date = DateTime.now()

# set var_list [list \
# [list forum_id $forum_id] \
# [list message_id $message_id] \
# [list parent_id $parent_id] \
# [list subject $subject] \
# [list content $content] \
# [list format $format] \
# [list user_id $user_id]]

respond_to do |format|
if @message.save
flash[:notice] = 'Message was created'
Expand Down

0 comments on commit 05b7f6a

Please sign in to comment.