Sha256: 54e8d749023807fcee5883e1a918f8c8400afbb8243c15037fe9f1439643e907

Contents?: true

Size: 310 Bytes

Versions: 1

Compression:

Stored size: 310 Bytes

Contents

class Components::View < ActionView::Base
  delegate :protect_against_forgery?, :form_authenticity_token, :to => :controller

  # TODO: rendering from a component view should be restricted to *just* rendering other components.
  #

  attr_accessor :controller

  def request
    controller._request
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
components-0.0.5 lib/components/view.rb