Sha256: 89f3ffa9718e5369cac486d65504d48ea002ad158727c40fbe0c25b28ef68334

Contents?: true

Size: 327 Bytes

Versions: 10

Compression:

Stored size: 327 Bytes

Contents

# This is for controllers that have simple forms that just use a modal
module Tenon
  class SimpleResourcesController < Tenon::ResourcesController
    # def index
    #   self.resource = klass.new
    #   super
    # end

    # def edit
    #   render partial: 'form', locals: { singular_name => resource }
    # end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
tenon-2.1.0 app/controllers/tenon/simple_resources_controller.rb
tenon-2.0.8 app/controllers/tenon/simple_resources_controller.rb
tenon-2.0.7 app/controllers/tenon/simple_resources_controller.rb
tenon-2.0.6 app/controllers/tenon/simple_resources_controller.rb
tenon-2.0.5 app/controllers/tenon/simple_resources_controller.rb
tenon-2.0.4 app/controllers/tenon/simple_resources_controller.rb
tenon-2.0.3 app/controllers/tenon/simple_resources_controller.rb
tenon-2.0.2 app/controllers/tenon/simple_resources_controller.rb
tenon-2.0.1 app/controllers/tenon/simple_resources_controller.rb
tenon-2.0.0 app/controllers/tenon/simple_resources_controller.rb