BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
30246f1d
Commit
30246f1d
authored
Mar 23, 2016
by
Douwe Maan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'rs-rails-routes' into 'master'
Add special cases for built-in Rails routes in development See merge request !3369
parents
33b1bbba
19a2adfa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
routes.rb
config/routes.rb
+12
-0
No files found.
config/routes.rb
View file @
30246f1d
...
...
@@ -16,6 +16,18 @@ Rails.application.routes.draw do
end
end
# Make the built-in Rails routes available in development, otherwise they'd
# get swallowed by the `namespace/project` route matcher below.
#
# See https://git.io/va79N
if
Rails
.
env
.
development?
get
'/rails/mailers'
=>
'rails/mailers#index'
get
'/rails/mailers/:path'
=>
'rails/mailers#preview'
get
'/rails/info/properties'
=>
'rails/info#properties'
get
'/rails/info/routes'
=>
'rails/info#routes'
get
'/rails/info'
=>
'rails/info#index'
end
namespace
:ci
do
# CI API
Ci
::
API
::
API
.
logger
Rails
.
logger
...
...
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