Mercurial > zeropaste
view app/controllers/application_controller.rb @ 436:72557a5310d9
Update readme
- minimum ruby version
- failing drone.io (missing latest ruby and stuff)
author | nanaya <me@myconan.net> |
---|---|
date | Mon, 13 Jun 2016 15:07:38 +0900 |
parents | dff632a63ada |
children |
line wrap: on
line source
class ApplicationController < ActionController::Base protect_from_forgery before_action :filter_spam private def filter_spam head :ok if params[:url1].present? end end