app/controllers/assignments_controller.rb
#--------------------------------------------------------------------------------------------------------------------
# GET_PATH (Helper function for CREATE and UPDATE)
#  return the file location if there is any for the assignment
# TODO: to be depreicated
#--------------------------------------------------------------------------------------------------------------------
GET_PATH (Helper function for CREATE and UPDATE)
return the file location if there is any for the assignment
TODO: to be depreicated
GET_PATH ( Helper function for CREATE and UPDATE ) return the file location if there is any for the assignment TODO : to be depreicated
def path
    begin
      file_path = @assignment.path
    rescue
      file_path = nil
    end
    file_path
  end
def path begin file_path = @assignment . path rescue file_path = nil end file_path end
GET_PATH (Helper function for CREATE and UPDATE)
return the file location if there is any for the assignment
TODO: to be depreicated
GET_PATH ( Helper function for CREATE and UPDATE ) return the file location if there is any for the assignment TODO : to be depreicated