updated before_filters to before_actions as recommended for rails 4

This commit is contained in:
Niall Paterson
2013-11-17 20:20:22 +00:00
committed by Jonne Haß
parent 244388fcb5
commit f33038f105
28 changed files with 48 additions and 49 deletions

View File

@@ -3,7 +3,7 @@
# the COPYRIGHT file.
class ContactsController < ApplicationController
before_filter :authenticate_user!
before_action :authenticate_user!
use_bootstrap_for :index, :spotlight