Mercurial > zeropaste
view app/controllers/application_controller.rb @ 309:9fe8c29c27c4
Standardize syntax.
author | edogawaconan <me@myconan.net> |
---|---|
date | Wed, 12 Mar 2014 19:52:28 +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