1 2 3 4 5 6 7 8 9 10 11 12
class AgendaItemsController < ApplicationController hobo_model_controller auto_actions :all, :except => :index before_filter :login, :except => :show protected def login redirect_to user_login_path unless current_user.signed_up? end end