Sha256: 4bc53b1eb3c405cc9892784e8e14191faa1b2364968af2ca131da8cf8e7f4d01

Contents?: true

Size: 438 Bytes

Versions: 7

Compression:

Stored size: 438 Bytes

Contents

class TestController < 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

7 entries across 7 versions & 2 rubygems

Version Path
unpoly-rails-0.22.1 spec_app/app/controllers/test_controller.rb
unpoly-rails-0.22.0 spec_app/app/controllers/test_controller.rb
unpoly-rails-0.21.0 spec_app/app/controllers/test_controller.rb
unpoly-rails-0.20.0 spec_app/app/controllers/test_controller.rb
upjs-rails-0.19.0 spec_app/app/controllers/test_controller.rb
upjs-rails-0.18.1 spec_app/app/controllers/test_controller.rb
upjs-rails-0.18.0 spec_app/app/controllers/test_controller.rb