Sha256: 623010ca186b77bde70e07f0d8d8f9173eec88ab67c4f3f1d375159e9aee8b83

Contents?: true

Size: 321 Bytes

Versions: 3

Compression:

Stored size: 321 Bytes

Contents

require 'caravaggio/canvas'

module Caravaggio
  class CanvasController < Caravaggio::ApplicationController
    protect_from_forgery with: :exception
    
    def index
      @canvas = Canvas.new
      @models = @canvas.models
      @figures = @canvas.figures
      @associations = @canvas.associations
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
caravaggio-0.0.14 app/controllers/caravaggio/canvas_controller.rb
caravaggio-0.0.13 app/controllers/caravaggio/canvas_controller.rb
caravaggio-0.0.12 app/controllers/caravaggio/canvas_controller.rb