Sha256: 43584260947f6f650e106c302af11ac2243e1d0809e32e2171be6811444a30aa

Contents?: true

Size: 252 Bytes

Versions: 140

Compression:

Stored size: 252 Bytes

Contents

module PgEngine
  module RouteHelpers
    def pg_resource(key, options = {})
      resources(key, options) do
        collection do
          get :abrir_modal
          post :buscar
        end
        yield if block_given?
      end
    end
  end
end

Version data entries

140 entries across 140 versions & 1 rubygems

Version Path
pg_rails-7.6.17 pg_engine/lib/pg_engine/route_helpers.rb
pg_rails-7.6.16 pg_engine/lib/pg_engine/route_helpers.rb
pg_rails-7.6.15 pg_engine/lib/pg_engine/route_helpers.rb
pg_rails-7.6.14 pg_engine/lib/pg_engine/route_helpers.rb
pg_rails-7.6.13 pg_engine/lib/pg_engine/route_helpers.rb
pg_rails-7.6.12 pg_engine/lib/pg_engine/route_helpers.rb
pg_rails-7.6.11 pg_engine/lib/pg_engine/route_helpers.rb
pg_rails-7.6.10 pg_engine/lib/pg_engine/route_helpers.rb
pg_rails-7.6.9 pg_engine/lib/pg_engine/route_helpers.rb
pg_rails-7.6.8 pg_engine/lib/pg_engine/route_helpers.rb
pg_rails-7.6.7 pg_engine/lib/pg_engine/route_helpers.rb
pg_rails-7.6.6 pg_engine/lib/pg_engine/route_helpers.rb
pg_rails-7.6.5 pg_engine/lib/pg_engine/route_helpers.rb
pg_rails-7.6.4 pg_engine/lib/pg_engine/route_helpers.rb
pg_rails-7.6.3 pg_engine/lib/pg_engine/route_helpers.rb
pg_rails-7.6.2 pg_engine/lib/pg_engine/route_helpers.rb
pg_rails-7.6.1 pg_engine/lib/pg_engine/route_helpers.rb
pg_rails-7.6.0 pg_engine/lib/pg_engine/route_helpers.rb
pg_rails-7.5.7 pg_engine/lib/pg_engine/route_helpers.rb
pg_rails-7.5.6 pg_engine/lib/pg_engine/route_helpers.rb