<commit_before>class OrganisationsController < ApplicationController
  skip_before_filter :ensure_organisation_exists
  skip_before_filter :ensure_authenticated
  skip_before_filter :ensure_member_active
  skip_before_filter :ensure_organisation_active
  skip_before_filter :ensure_member_inducted
  
  before_filter :ensure_not_single_organisation_mode
  
  def new
    @organisation = Organisation.new
  end
  
  def create
    @organisation = Organisation.new(params[:organisation])
    if @organisation.save
      redirect_to(:host => @organisation.host, :controller => 'induction', :action => 'founder')
    else<commit_msg>Make OrganisationsController use the 'setup' layout.<commit_after>class OrganisationsController < ApplicationController
  skip_before_filter :ensure_organisation_exists
  skip_before_filter :ensure_authenticated
  skip_before_filter :ensure_member_active
  skip_before_filter :ensure_organisation_active
  skip_before_filter :ensure_member_inducted
  
  before_filter :ensure_not_single_organisation_mode
  
  layout "setup"
  
  def new
    @organisation = Organisation.new
  end
  
  def create
    @organisation = Organisation.new(params[:organisation])
    if @organisation.save
      redirect_to(:host => @organisation.host, :controller => 'induction', :action => 'founder')
    else
{'fraction_non_alphanumeric': 0.06757782839787396, 'fraction_numerical': 0.0, 'mean_word_length': 5.724489795918367, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7139376', 'n_tokens_mistral': 385, 'n_tokens_neox': 373, 'n_words': 72}