Sha256: 5699ddf495302e00f19762a620916a79bb4bc5c675d3d83d96462a2efec7d59b

Contents?: true

Size: 199 Bytes

Versions: 4

Compression:

Stored size: 199 Bytes

Contents

class Views::Resources::Edit < Views::Resources::Form
  def page_title
    "Edit #{resource_name}"
  end
  
  def form(&block)    
    form_for resource, url: resource_url(resource), &block
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
alpha-simprini-engine-0.0.4 app/views/resources/edit.rb
alpha-simprini-engine-0.0.3 app/views/resources/edit.rb
alpha-simprini-engine-0.0.2 app/views/resources/edit.rb
alpha-simprini-engine-0.0.1 app/views/resources/edit.rb