Skip to content

NateBarnes/rails_reroute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rails Reroute

Rails reroute allows you to full reroute your request from within a controller without having to duplicate code across controllers. Just plug it in and it works.

class AirTrafficController < ApplicationController
  def index
    reroute "status"
  end
end

You can add it to your project by adding this to your Gemfile

gem 'rails_reroute', :require => 'rails_reroute'

About

A Rerouting Plugin for Rails

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages