Sha256: 6efc6176626107a2e47ef36ed82ec3536e711fd1cb810045f8513ca6519f735b

Contents?: true

Size: 280 Bytes

Versions: 7

Compression:

Stored size: 280 Bytes

Contents

class TestController < ApplicationController
  before_filter :set_model

  def javascript_bindings; end
  def form_helpers; end

  def bind_form_for_helper
    @models = bindable([@model])
  end

  def set_model
    @model = bindable(TestModel.new(name: params[:name]))
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
angular_sprinkles-0.3.0 spec/dummy/app/controllers/test_controller.rb
angular_sprinkles-0.2.14 spec/dummy/app/controllers/test_controller.rb
angular_sprinkles-0.2.13 spec/dummy/app/controllers/test_controller.rb
angular_sprinkles-0.2.12 spec/dummy/app/controllers/test_controller.rb
angular_sprinkles-0.2.11 spec/dummy/app/controllers/test_controller.rb
angular_sprinkles-0.2.10 spec/dummy/app/controllers/test_controller.rb
angular_sprinkles-0.2.9 spec/dummy/app/controllers/test_controller.rb