Sha256: 8524f7d5076208d992de4c1ad2ae2c7dbf3929d3041cdc1f6244eda9cbd4b977

Contents?: true

Size: 188 Bytes

Versions: 13

Compression:

Stored size: 188 Bytes

Contents

class ListingsController < ApplicationController
  smarter_listing

  private
    def resource_params
      params.require(:listing).permit(:name, :content) if params[:listing]
    end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
smarter_listing-0.5.0 test/dummy/app/controllers/listings_controller.rb
smarter_listing-0.6.0 test/dummy/app/controllers/listings_controller.rb
smarter_listing-0.4.2 test/dummy/app/controllers/listings_controller.rb
smarter_listing-0.4.2.pre test/dummy/app/controllers/listings_controller.rb
smarter_listing-0.4.0 test/dummy/app/controllers/listings_controller.rb
smarter_listing-0.3.7 test/dummy/app/controllers/listings_controller.rb
smarter_listing-0.3.6 test/dummy/app/controllers/listings_controller.rb
smarter_listing-0.3.5 test/dummy/app/controllers/listings_controller.rb
smarter_listing-0.3.4 test/dummy/app/controllers/listings_controller.rb
smarter_listing-0.3.3 test/dummy/app/controllers/listings_controller.rb
smarter_listing-0.3.2 test/dummy/app/controllers/listings_controller.rb
smarter_listing-0.3.0 test/dummy/app/controllers/listings_controller.rb
smarter_listing-0.2.9 test/dummy/app/controllers/listings_controller.rb