1 2 3 4
class ApplicationController < ActionController::Base protect_from_forgery before_filter :authenticate_user! end