Sha256: 15fff9b48fd60cc4e7c537951b8647b00e3b7b3d8e28118b53ceeb57472880ef
Contents?: true
Size: 701 Bytes
Versions: 17
Compression:
Stored size: 701 Bytes
Contents
# frozen_string_literal: true module Alchemy module Admin class EssenceVideosController < Alchemy::Admin::BaseController authorize_resource class: Alchemy::EssenceVideo before_action :load_essence def update @essence_video.update(essence_video_params) end private def load_essence @essence_video = EssenceVideo.find(params[:id]) end def essence_video_params params.require(:essence_video).permit( :width, :height, :autoplay, :controls, :loop, :muted, :playsinline, :preload, :attachment_id ) end end end end
Version data entries
17 entries across 17 versions & 1 rubygems