app/helpers/assignments_helper.rb
# This returns an assignment's URL
This returns an assignment's URL
This returns an assignment ' s URL
def next_due_link(current_user)
    @assignment = current_user.assignments.first
    unless @assignment.nil?
      "/assignments/#{@assignment.id}/edit"
    end
	end
def next_due_link ( current_user ) @assignment = current_user . assignments . first unless @assignment . nil? "/assignments/#{@assignment.id}/edit" end end
This returns an assignment's URL
This returns an assignment ' s URL
current_user
<not_specific>