Sha256: 6474f9389b9398f4deef202d37fa00c1cb08bc301441195400d6dbe92a442522

Contents?: true

Size: 213 Bytes

Versions: 5

Compression:

Stored size: 213 Bytes

Contents

class TestController < ApplicationController
  before_filter :set_model

  def javascript_bindings; end
  def form_helpers; end

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
angular_sprinkles-0.2.4 spec/dummy/app/controllers/test_controller.rb
angular_sprinkles-0.2.3 spec/dummy/app/controllers/test_controller.rb
angular_sprinkles-0.2.2 spec/dummy/app/controllers/test_controller.rb
angular_sprinkles-0.2.1 spec/dummy/app/controllers/test_controller.rb
angular_sprinkles-0.2.0 spec/dummy/app/controllers/test_controller.rb