Skip to content

Commit

Permalink
Merge pull request #82 from kodgemisi/development
Browse files Browse the repository at this point in the history
moves activity creation bugfix into master
  • Loading branch information
xaph committed Feb 26, 2015
2 parents 895e27b + b49144a commit e5cd609
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/conferences_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ def apply
def save_apply
@speech = Speech.new(speech_params)
@speech.conference = @conference
create_activity!(nil, @conference, @speech, "speech_new")
respond_to do |format|
if @speech.save
create_activity!(nil, @conference, @speech, "speech_new")
format.html { redirect_to apply_conference_path, notice: t("application_received", topic: @speech.topic.subject) }
else
format.html { render action: "apply" }
Expand Down

0 comments on commit e5cd609

Please sign in to comment.