Class: Course::ExperiencePoints::ForumDisbursementController

Inherits:
DisbursementController
  • Object
show all
Defined in:
app/controllers/course/experience_points/forum_disbursement_controller.rb

Instance Method Summary collapse

Instance Method Details

#createObject

:nodoc:


4
5
6
7
8
9
10
11
# File 'app/controllers/course/experience_points/forum_disbursement_controller.rb', line 4

def create # :nodoc:
  if @disbursement.save
    redirect_to forum_disbursement_course_users_path(current_course, @disbursement.params_hash),
                success: t('.success', count: recipient_count)
  else
    render 'new'
  end
end