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'
13 @artist = if current_author.artist?
16 Artist.new author_id: current_author.id, email: current_author.email, name: current_author.name