Sha256: 9f6e199a99aab28216fd0a8923fd884792fc1fdcc095219a67b31f394776815d

Contents?: true

Size: 278 Bytes

Versions: 10

Compression:

Stored size: 278 Bytes

Contents

require 'iord/controller'
require 'iord/nested'
require 'iord/json'

class SubcommentsController < ApplicationController
  include Iord::Controller
  include Iord::Nested
  include Iord::Json

  defaults resource_class: Comment

  def index_attrs
    %i(author_name)
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
iord-1.2.2 test/dummy/app/controllers/subcomments_controller.rb
iord-1.2.1 test/dummy/app/controllers/subcomments_controller.rb
iord-1.2.0 test/dummy/app/controllers/subcomments_controller.rb
iord-1.1.3 test/dummy/app/controllers/subcomments_controller.rb
iord-1.1.2 test/dummy/app/controllers/subcomments_controller.rb
iord-1.1.1 test/dummy/app/controllers/subcomments_controller.rb
iord-1.1.0 test/dummy/app/controllers/subcomments_controller.rb
iord-1.0.3 test/dummy/app/controllers/subcomments_controller.rb
iord-1.0.2 test/dummy/app/controllers/subcomments_controller.rb
iord-1.0.1 test/dummy/app/controllers/subcomments_controller.rb