Sha256: 696a038f726fa3015b26bfe5bad0c14569cb13982b77ecf28bc163dd450f0490
Contents?: true
Size: 267 Bytes
Versions: 5
Compression:
Stored size: 267 Bytes
Contents
module Iatelier module Controllers module Books class Edit include Iatelier::Action expose :book def call(params) @book = Object.const_get(params[:book_type].capitalize).find(params[:id]) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems