Class: AnimateIt::StudioController
Constant Summary
ApplicationController::NullPolicy
Instance Method Summary
collapse
Instance Method Details
#show ⇒ Object
8
9
10
11
12
13
14
15
|
# File 'app/controllers/animate_it/studio_controller.rb', line 8
def show
@composition = composition
@compositions = AnimateIt.compositions
@frame_base_url = animate_it_path("/compositions/#{@composition.id}/frame")
@last_frame = @composition.duration_in_frames - 1
@props_json = JSON.pretty_generate(@composition.props.defaults)
@renders = RenderStore.all
end
|