annotate app/controllers/application_controller.rb @ 327:e5954c26d039

Update gems.
author edogawaconan <me@myconan.net>
date Wed, 09 Apr 2014 11:40:42 +0900
parents dff632a63ada
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
1 class ApplicationController < ActionController::Base
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
2 protect_from_forgery
297
dff632a63ada Basic spam filtering.
edogawaconan <me@myconan.net>
parents: 0
diff changeset
3 before_action :filter_spam
dff632a63ada Basic spam filtering.
edogawaconan <me@myconan.net>
parents: 0
diff changeset
4
dff632a63ada Basic spam filtering.
edogawaconan <me@myconan.net>
parents: 0
diff changeset
5 private
dff632a63ada Basic spam filtering.
edogawaconan <me@myconan.net>
parents: 0
diff changeset
6
dff632a63ada Basic spam filtering.
edogawaconan <me@myconan.net>
parents: 0
diff changeset
7 def filter_spam
dff632a63ada Basic spam filtering.
edogawaconan <me@myconan.net>
parents: 0
diff changeset
8 head :ok if params[:url1].present?
dff632a63ada Basic spam filtering.
edogawaconan <me@myconan.net>
parents: 0
diff changeset
9 end
0
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
10 end