Sha256: 767c8ed492cc7ff6a1cd4bb73263acb30d96a9970352424a39802902a4a294e9
Contents?: true
Size: 376 Bytes
Versions: 6
Compression:
Stored size: 376 Bytes
Contents
class <%= controller_name.camelize %> < Cardboard::ResourceController # uses inherited_resources. For more info see https://github.com/josevalim/inherited_resources actions :all, :except => [:show] # If you are not using strong parameters comment the method below def permitted_strong_parameters :all #or an array of parameters, example: [:name, :email] end end
Version data entries
6 entries across 6 versions & 1 rubygems