Sha256: 702bd78f92d368105899e815f0257fbb441130a5d21d5175a940aae9db770ca8

Contents?: true

Size: 255 Bytes

Versions: 2

Compression:

Stored size: 255 Bytes

Contents

class Admin::CountriesController < ApplicationController
  resource_for "Country",
    pagination: true,
    rest_actions: true,
    search: true,
    search_options: {distinct: true},
    params_resource: :country,
    resource_method_name: :country
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
resources-1.0.1 test/dummy/app/controllers/admin/countries_controller.rb
resources-1.0.0 test/dummy/app/controllers/admin/countries_controller.rb