Include autenticazione, progetti isolati, mail marketing HTML con SMTP, test A/B e editor WYSIWYG. Co-authored-by: Cursor <cursoragent@cursor.com>
11 lines
276 B
Ruby
11 lines
276 B
Ruby
class HomeController < ApplicationController
|
|
def index
|
|
@page_title = "I miei progetti"
|
|
@projects = available_projects
|
|
|
|
if !current_user.admin? && @projects.one?
|
|
redirect_to project_root_path(project_code: @projects.first.code) and return
|
|
end
|
|
end
|
|
end
|