RailsHoneypot is a very simple engine that provides a fake login screen for your admin panel so you can have your real admin panel accessible via something random that is hard to guess.
Add this line to your application's Gemfile:
gem 'rails_honeypot'
And then execute:
$ bundle
Simply add the following route in your routes.rb
YourApp::Application.routes.draw do
mount RailsHoneypot::Engine, at: "/admin"
end
now visit the /admin route and see it in action.
If you want to contribute, please follow these easy steps:
- Fork it ( https://github.com/michaelkoper/rails-honeypot/fork )
- Create your feature branch (git checkout -b improving-something)
- Commit your changes (git commit -am 'Let's improve this!')
- Push to the branch (git push origin improving-something)
- Create new Pull Request
The gem is available as open source under the terms of the MIT License.