1 class ApplicationController < ActionController::Base
6 if Admin.count.to_i == 0
7 if params[:controller] == 'system' and params[:action] == 'start'
9 redirect_to :controller => '/system', :action => 'start'
14 @author = @user.author
15 @artist = if @author and @author.artist?
18 Artist.new author_id: @author.id, email: @user.email, name: @author.name, default_license_id: 1