Sha256: 6a2691cebf2d1341d3ba2afce8e0b9e9d5758c7b808f01bcddb6a5467a6180c1

Contents?: true

Size: 199 Bytes

Versions: 3

Compression:

Stored size: 199 Bytes

Contents

module PgEngine
  module RouteHelpers
    def pg_resource(key)
      resources(key) do
        collection do
          get :abrir_modal
          post :buscar
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pg_rails-7.0.5 pg_engine/lib/pg_engine/route_helpers.rb
pg_rails-7.0.4 pg_engine/lib/pg_engine/route_helpers.rb
pg_rails-7.0.3 pg_engine/lib/pg_engine/route_helpers.rb