Skip to content
Snippets Groups Projects

Add routes to allow git actions on snippet repositories

All threads resolved!
Compare and Show latest version
5 files
+ 60
4
Compare changes
  • Side-by-side
  • Inline
Files
5
@@ -2,7 +2,8 @@
@@ -2,7 +2,8 @@
module Snippets
module Snippets
class Repository < ::Repository
class Repository < ::Repository
# We still need to override project, defined in the parent class.
# We still need to override project because it is
 
# defined in the parent class.
# At some point, the main class Repository will remove the project
# At some point, the main class Repository will remove the project
# reference and work only with subject
# reference and work only with subject
delegate :project, to: :subject
delegate :project, to: :subject
Loading