Sha256: ec0317ab97e306dc66f685f9d33bddfa715d1797448d7fc438cc55d46722b330
Contents?: true
Size: 373 Bytes
Versions: 12
Compression:
Stored size: 373 Bytes
Contents
module Alchemy module Admin class PictureDescriptionsController < Alchemy::Admin::ResourcesController def edit @picture_description = @picture.descriptions.find_or_initialize_by(language_id: params[:language_id]) end private def load_resource @picture = Alchemy::Picture.find(params[:picture_id]) end end end end
Version data entries
12 entries across 12 versions & 1 rubygems