Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Jankovski <marin@gitlab.com>2014-06-25 13:15:27 +0400
committerMarin Jankovski <marin@gitlab.com>2014-06-30 11:42:28 +0400
commitca6fd8841e3bf1d6db9370fd7aa7934b320550e4 (patch)
tree58c0dbf996e9108097a3676ecaa0cda8aaa98692 /app/controllers/groups
parent76e36dd253229d580f2c6336a77e5fc403fe90c3 (diff)
Add group milestones routes and controller.
Diffstat (limited to 'app/controllers/groups')
-rw-r--r--app/controllers/groups/milestones_controller.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/controllers/groups/milestones_controller.rb b/app/controllers/groups/milestones_controller.rb
new file mode 100644
index 00000000000..fc538105125
--- /dev/null
+++ b/app/controllers/groups/milestones_controller.rb
@@ -0,0 +1,7 @@
+class Groups::MilestonesController < ApplicationController
+ layout 'group'
+
+ def index
+ @group = Group.find_by(path: params[:group_id])
+ end
+end