app/controllers/datasets_controller.rb
# GET /datasets/1/documentation
# return the submission documentation (probably readme.txt) for the given dataset if it exists
GET /datasets/1/documentation
return the submission documentation (probably readme.txt) for the given dataset if it exists
GET / datasets / 1 / documentation return the submission documentation ( probably readme . txt ) for the given dataset if it exists
def documentation
    dataset = find_dataset(params[:id])
    @readme = dataset.readme rescue ""
    respond_to do |format|
      format.text
    end
  end
def documentation dataset = find_dataset ( params [ :id ] ) @readme = dataset . readme rescue "" respond_to do | format | format . text end end
GET /datasets/1/documentation
return the submission documentation (probably readme.txt) for the given dataset if it exists
GET / datasets / 1 / documentation return the submission documentation ( probably readme . txt ) for the given dataset if it exists