Sha256: 3e605289d88a423add1f1f3bf342d0553b07a504915226ac439c13535b0e506d
Contents?: true
Size: 792 Bytes
Versions: 3
Compression:
Stored size: 792 Bytes
Contents
require 'rails_versioned_routing' Dummy::Application.routes.draw do extend RailsVersionedRouting version(3) do post 'a_path_only_in_v3', controller: 'sample', action: 'posted_a_path_only_in_v3' get 'a_path_only_in_v3', controller: 'sample' end version(2) do get 'a_path_overridden_from_v1/:id/whats/:ok', controller: 'sample', action: 'a_path_overridden_from_v1' get 'a_path_in_v2', controller: 'sample' removed do get 'another_path_in_v1', controller: 'sample' end end version(1) do get 'a_path_in_v1', controller: 'sample' get 'another_path_in_v1', controller: 'sample' get 'a_path_overridden_from_v1/:id/whats/:ok', controller: 'sample', action: 'a_path_overridden_from_v1' end get 'final_fallback', controller: 'sample' end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rails_versioned_routing-1.3.1 | test/dummy/config/routes.rb |
rails_versioned_routing-1.3.0 | test/dummy/config/routes.rb |
rails_versioned_routing-1.2.0 | test/dummy/config/routes.rb |