Skip to content

Instantly share code, notes, and snippets.

@bmsolutions
bmsolutions / gist:811409
Created February 4, 2011 17:23
return false from filter
class ProfilesController < ApplicationController
before_filter :set_current_account
def index
@hours = BusinessHour.find_hours_for_id(@business.id)
@services = Service.find_services_for_business(@business.id)
@staffs = Staff.find_staff_for_business(@business.id)
respond_to do |format|