Skip to content

itisjustlu/rails_routes_drawer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Rails routes drawer

This gem is intended to simplify your routes file. If you want to split it in multiples files to organize your routes, This is what you need.

How to install?

gem 'rails_routes_drawer'

How to use it?

Create a simple file under config/routes/my_appended_routes.rb

resources :products do
  resources :variants
end

and then in your config/routes.rb, just draw it!!

Rails.application.routes.draw do
  ...
  
  draw :my_appended_routes
  
  ...
end

About

A simple way to split your files in multiple files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages