Skip to content

Commit

Permalink
Update language
Browse files Browse the repository at this point in the history
  • Loading branch information
zachlatta committed Jan 27, 2018
1 parent 6af1470 commit d6adad0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/app/controllers/v1/leader_profiles_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ def update
end

# TODO: Check for errors and return them if needed
profile.update_attributes(applicant_profile_params)
profile.update_attributes(leader_profile_params)

render_success(profile)
end

private

def applicant_profile_params
def leader_profile_params
params.permit(
:leader_name,
:leader_email,
Expand Down

0 comments on commit d6adad0

Please sign in to comment.