Sha256: 9e4247fc7c41be98088522fe58687b3ac0dee6088ac61bc5b5cd5c70569133f6

Contents?: true

Size: 305 Bytes

Versions: 5

Compression:

Stored size: 305 Bytes

Contents

class Vision::<%= resource_name.classify.pluralize %>Controller < Vision::ResourceController

  private
  #DEFINE INPUT AND OUTPUT attributes!
  #def attributes
  #  resource_class.attribute_names & form_attributes
  #end
  #
  #def form_attributes
  #  %w(email password password_confirmation)
  #end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
vision-0.0.2 lib/generators/templates/resource_controller.rb.erb
vision-0.0.1 lib/generators/templates/resource_controller.rb.erb
vision-0.0.1.beta2 lib/generators/templates/resource_controller.rb.erb
vision-0.0.1.beta lib/generators/templates/resource_controller.rb.erb
vision-0.0.1.alpha1 lib/generators/templates/resource_controller.rb.erb