module Messaging class ApplicationController < ActionController::Base before_filter :authenticate_messaging_user! def current_user current_messaging_user end end end