Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
6b44ebb0
Commit
6b44ebb0
authored
Apr 27, 2016
by
Gabriel Mazetto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Geo::ScheduleRepoMoveService autoload error
parent
75136cc0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app/services/geo/schedule_repo_move_service.rb
app/services/geo/schedule_repo_move_service.rb
+1
-1
lib/api/geo.rb
lib/api/geo.rb
+2
-2
No files found.
app/services/geo/schedule_repo_move_service.rb
View file @
6b44ebb0
module
Geo
class
ScheduleRepo
Renam
eService
class
ScheduleRepo
Mov
eService
attr_reader
:id
,
:name
,
:old_path_with_namespace
,
:path_with_namespace
def
initialize
(
params
)
...
...
lib/api/geo.rb
View file @
6b44ebb0
...
...
@@ -35,10 +35,10 @@ module API
::
Geo
::
ScheduleRepoDestroyService
.
new
(
params
).
execute
when
'project_rename'
required_attributes!
%w(event_name project_id path_with_namespace old_path_with_namespace)
::
Geo
::
ScheduleRepo
Renam
eService
.
new
(
params
).
execute
::
Geo
::
ScheduleRepo
Mov
eService
.
new
(
params
).
execute
when
'project_transfer'
required_attributes!
%w(event_name project_id path_with_namespace old_path_with_namespace)
::
Geo
::
ScheduleRepo
Renam
eService
.
new
(
params
).
execute
::
Geo
::
ScheduleRepo
Mov
eService
.
new
(
params
).
execute
end
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment