Commit 150c4b6d authored by Sean McGivern's avatar Sean McGivern

Add feature categories to ProjectsController

parent 73399b6e
...@@ -47,6 +47,16 @@ class ProjectsController < Projects::ApplicationController ...@@ -47,6 +47,16 @@ class ProjectsController < Projects::ApplicationController
layout :determine_layout layout :determine_layout
feature_category :projects, [
:index, :show, :new, :create, :edit, :update, :transfer,
:destroy, :resolve, :archive, :unarchive, :toggle_star
]
feature_category :source_code_management, [:remove_fork, :housekeeping, :refs]
feature_category :issue_tracking, [:preview_markdown, :new_issuable_address]
feature_category :importers, [:export, :remove_export, :generate_new_export, :download_export]
feature_category :audit_events, [:activity]
def index def index
redirect_to(current_user ? root_path : explore_root_path) redirect_to(current_user ? root_path : explore_root_path)
end end
......
...@@ -9,6 +9,8 @@ module EE ...@@ -9,6 +9,8 @@ module EE
before_action :log_download_export_audit_event, only: [:download_export] before_action :log_download_export_audit_event, only: [:download_export]
before_action :log_archive_audit_event, only: [:archive] before_action :log_archive_audit_event, only: [:archive]
before_action :log_unarchive_audit_event, only: [:unarchive] before_action :log_unarchive_audit_event, only: [:unarchive]
feature_category :projects, [:restore]
end end
def restore def restore
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment