Skip to content

Instantly share code, notes, and snippets.

View mbishopadamson's full-sized avatar

Derrick T. Woolworth mbishopadamson

  • Barkley
  • Kansas City, Missouri
View GitHub Profile
class WizardController < ApplicationController
session :cookie_only => false, :only => :create
before_filter :determine_site_by_domain, :except=> [:upload_page_photo,:create_agent_logo,:index,:content,:customize,:pricing,:new_site, :next_step, :previous_step,:create_site, :brand_select]
before_filter :check_domain_in_admin
skip_before_filter :verify_authenticity_token, :only => [:upload_page_photo,:create_agent_logo]
#before_filter :verify_upload, :only => [:next_step_remote, :previous_step_remote]
#after_filter :set_button_positioning #req'd for IE7 with ajaxy goodness
layout 'wizard'
def new_site