https://github.com/widefix/rails-dynamic-controller-for-route
Demonstration of a solution for dynamic controllers resolution for a Rails route
https://github.com/widefix/rails-dynamic-controller-for-route
Last synced: about 2 months ago
JSON representation
Demonstration of a solution for dynamic controllers resolution for a Rails route
- Host: GitHub
- URL: https://github.com/widefix/rails-dynamic-controller-for-route
- Owner: widefix
- Created: 2018-02-07T21:02:02.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-07T21:34:14.000Z (over 8 years ago)
- Last Synced: 2025-12-27T07:23:31.104Z (6 months ago)
- Language: Ruby
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README
## Installation:
- `bundle install`
- `rails s`
## Test:
- `curl localhost:3000/v1/categories`
- `curl localhost:3000/v2/categories`
- `curl localhost:3000/v1/users`
- `curl localhost:3000/v2/users`
- `curl localhost:3000/v1/products`
- `curl localhost:3000/v2/products`