Project

desert_you

0.0
The project is in a healthy, maintained state
Redirects all routes ending in `.php` to a certain video.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

>= 6.0
 Project Readme

Desert You Gem

Redirects any *.php call to a certain video.

Never gonna give you up

Installation

Add this line to your Rails application's Gemfile:

gem 'desert_you'

And then run bundle install.

Usage

Mount the engine in your application's config/routes.rb:

Rails.application.routes.draw do
  mount DesertYou::Engine => '/'

  # ... your other routes
end

Any request whose path ends in .php will now get a permanent redirect to the configured video, regardless of what else is in your route set.

Work In Progress

Gem will be set to 1.0.0 when it is ready for use.

Image by Never Gonna Give You Up music video., Fair use, https://en.wikipedia.org/w/index.php?curid=22192466