Sha256: 32ffe8aea40f7505c8c97fc2e4e3116d305403d8b9c7585722675dc0fa53def1

Contents?: true

Size: 210 Bytes

Versions: 3

Compression:

Stored size: 210 Bytes

Contents

class ReloadTestModelsController < ApplicationController
  enable_push_route :index, "/reloadTestModel"
  def index
    render json: [], status: 200
  end
  add_trigger :index, ReloadTestModel, :after_save
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
push_routes-0.0.8 test/dummy/app/controllers/reload_test_models_controller.rb
push_routes-0.0.7 test/dummy/app/controllers/reload_test_models_controller.rb
push_routes-0.0.6 test/dummy/app/controllers/reload_test_models_controller.rb