Skip to content
Snippets Groups Projects
Commit 373411d1 authored by Jose Ivan Vargas Lopez's avatar Jose Ivan Vargas Lopez
Browse files

Corrected code style and titles

parent bc7c6c68
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -4,8 +4,8 @@ module Projects
include ServiceParams
 
before_action :authorize_admin_project!
layout "project_settings"
def show
@hooks = @project.hooks
@hook = ProjectHook.new
Loading
Loading
Loading
Loading
@@ -211,6 +211,7 @@ module GitlabRoutingHelper
def project_settings_integrations_path(project, *args)
namespace_project_settings_integrations_path(project.namespace, project, *args)
end
def project_settings_members_path(project, *args)
namespace_project_settings_members_path(project.namespace, project, *args)
end
Loading
Loading
Loading
Loading
@@ -9,7 +9,7 @@
%span
Deploy Keys
= nav_link(controller: :integrations) do
= link_to namespace_project_settings_integrations_path(@project.namespace, @project), title: 'Webhooks' do
= link_to namespace_project_settings_integrations_path(@project.namespace, @project), title: 'Integrations' do
%span
Integrations
= nav_link(controller: :protected_branches) do
Loading
Loading
- context_title = @project ? 'project' : 'group'
.row.prepend-top-default
.col-lg-3
%h4.prepend-top-0
Loading
Loading
require('spec_helper')
require 'spec_helper'
 
describe Projects::Settings::IntegrationsController do
let(:project) { create(:project, :public) }
let(:user) { create(:user) }
let(:user) { create(:user) }
 
before do
project.team << [user, :master]
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment