Sha256: e6306446a9bf94d6dd9b29819da446cec5279a7d698e4b1babf30265769a0789

Contents?: true

Size: 445 Bytes

Versions: 3

Compression:

Stored size: 445 Bytes

Contents

class BindingTestController < ActionController::Base

  def is_up
    render :text => up?.to_s
  end

  def up_target
    render :text => up.target
  end

  def is_up_validate
    render :text => up.validate?.to_s
  end

  def up_validate_name
    render :text => up.validate_name
  end

  def set_up_title
    up.title = 'Pushed document title'
    render :text => 'text'
  end

  def text
    render :text => 'text from controller'
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
unpoly-rails-0.24.1 spec_app/app/controllers/binding_test_controller.rb
unpoly-rails-0.24.0 spec_app/app/controllers/binding_test_controller.rb
unpoly-rails-0.23.0 spec_app/app/controllers/binding_test_controller.rb