class Fasta::Server::Actions::Show

Public Instance Methods

fetch() click to toggle source
# File lib/fasta/server/actions/show.rb, line 7
def fetch
  @response_code = 404 unless instance = db_table.first(id: params[:id])
  instance
end