verify :method => :post, :only => ['create', 'update', 'delete'], :redirect_to => { :action => 'index' }
before_filter :admin_required, :except => [ 'index' ]
- SECTION=Navigation::SECTION_RESOURCE
+ SECTION=Navigation::SECTION_HOME
#
#
class ComparisonController < ApplicationController
- SECTION=Navigation::SECTION_RESOURCE
+ SECTION=Navigation::SECTION_HOME
def index
snapshots = []
#
class DependenciesController < ApplicationController
- SECTION=Navigation::SECTION_RESOURCE
+ SECTION=Navigation::SECTION_HOME
SEARCH_MINIMUM_SIZE=3
QUALIFIERS=['TRK', 'BRC', 'LIB']
# the backup action is allow to non-admin users : see http://jira.codehaus.org/browse/SONAR-2039
before_filter :admin_required, :only => ['create', 'delete', 'set_as_default', 'copy', 'restore', 'change_parent', 'set_projects', 'rename_form', 'rename']
- SECTION=Navigation::SECTION_RESOURCE
+ SECTION=Navigation::SECTION_HOME
ROOT_BREADCRUMB = {:name => Api::Utils.message('quality_profiles.page'), :url => {:controller => 'profiles', :action => 'index'}}
class RulesConfigurationController < ApplicationController
- SECTION=Navigation::SECTION_RESOURCE
+ SECTION=Navigation::SECTION_HOME
STATUS_ACTIVE = "ACTIVE"
STATUS_INACTIVE = "INACTIVE"