Skip to content

Commit

Permalink
typo fix when closing overdue questions and sending out emails about …
Browse files Browse the repository at this point in the history
…them

Signed-off-by: Balint Erdi <balint.erdi@gmail.com>
  • Loading branch information
balinterdi committed Jun 1, 2009
1 parent c8d46d7 commit 576a600
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/controllers/member/oracle/answers_controller.rb
Expand Up @@ -8,7 +8,7 @@ def new
end

def create
answer_params = params[:answer].merge(:question => @question)
answer_params = params[:answer].merge(:question => @question).merge(:user => current_user)
@answer = ::Oracle::Answer.new(answer_params)
if @answer.save
flash[:ok] = I18n.t("member.oracle.answers.create.saved_ok")
Expand Down
2 changes: 1 addition & 1 deletion init.rb
Expand Up @@ -11,7 +11,7 @@

scheduler = Rufus::Scheduler.start_new
scheduler.every "1d" do
Oracle::Question.send_close_request_for_overdues
Oracle::Question.send_close_requests_for_overdues
end


Expand Down

0 comments on commit 576a600

Please sign in to comment.