Sha256: e01f8940fa4c425a499b5cfeebd4cdafe04b78c2556f05aeeb0d7c3cda971e55

Contents?: true

Size: 717 Bytes

Versions: 7

Compression:

Stored size: 717 Bytes

Contents

class BarController < ApplicationController
  def basic_action
    render :inline => '<h1>Bar! Basic Action</h1>', :layout => 'application'
  end
  
  
  def another_basic_action
    render :inline => '<h1>Bar! Another Basic Action</h1>', :layout => 'application'
  end
  
  
  def yet_another_basic_action
    render :inline => '<h1>Bar! Yet Another Basic Action</h1>', :layout => 'application'
  end
  
  
  def different_params
    js :params => {
      :boolean => true, 
      :array => [1, 2, 3],
      :string => 'Banana',
      :integer => 69,
      :float => 3.1416,
      :hash => {:a => 'Hello', :b => 'World'}}
  
    render :inline => '<h1>Bar! Different Params</h1>', :layout => 'application'
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
paloma-2.0.6 spec/test_app/app/controllers/bar_controller.rb
paloma-2.0.5 spec/test_app/app/controllers/bar_controller.rb
paloma-2.0.4 spec/test_app/app/controllers/bar_controller.rb
paloma-2.0.3 spec/test_app/app/controllers/bar_controller.rb
paloma-2.0.2 spec/test_app/app/controllers/bar_controller.rb
paloma-2.0.1 spec/test_app/app/controllers/bar_controller.rb
paloma-2.0.0 spec/test_app/app/controllers/bar_controller.rb