Sha256: 1660f552a620901006d7412abe33a50180e94a95407eb539097265da7110e5b9
Contents?: true
Size: 265 Bytes
Versions: 11
Compression:
Stored size: 265 Bytes
Contents
# frozen_string_literal: true class RequestHandlerController < ActionController::Base def document_params params.require(:document).permit(:name) end def documents Document.all end def document documents.find(params.require(:id)) end end
Version data entries
11 entries across 11 versions & 1 rubygems