class CustomAccountsController < Bento::AccountsController defaults :resource_class => Site, :collection_name => 'sites', :instance_name => 'site' skip_before_filter :authenticate_user!, :only => %w[new] def new flash[:special] = "Welcome to '#{controller_path}' controller!" super end protected def after_create_url custom_account_path(resource) end end