Mercurial > zeropaste
view app/controllers/application_controller.rb @ 460:b1ef80121c79
Update to use correct timestamp datatype
Use sql dump instead of ruby because zone info would be lost otherwise.
author | nanaya <me@nanaya.pro> |
---|---|
date | Mon, 25 Jun 2018 16:53:47 +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