Sha256: 09dd12c881e405363d3a95244fc48a114180bbfabcca9e45535e2a7e39a8928d

Contents?: true

Size: 399 Bytes

Versions: 2

Compression:

Stored size: 399 Bytes

Contents

class SimpleFormCell < Cell::ViewModel
  include ActionView::RecordIdentifier
  include ActionView::Helpers::FormHelper
  include SimpleForm::ActionViewExtensions::FormHelper

  # include ActiveSupport::Configurable
  # include ActionController::RequestForgeryProtection # FIXME: this does NOT activate any protection.

  def protect_against_forgery?
    false
  end

  def show
    render
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cells-4.0.0.rc1 test/rails4.2/app/cells/simple_form_cell.rb
cells-4.0.0.beta6 test/rails4.2/app/cells/simple_form_cell.rb