Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
Datababes
Project
Project
Details
Activity
Releases
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
George Nicole Balmaceda
Datababes
Commits
eedbfdfd
Commit
eedbfdfd
authored
Jul 05, 2016
by
harvli1216
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
travis
parent
eac5bc4a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
pages_controller.rb
parkinglot/app/controllers/pages_controller.rb
+3
-0
routes.rb
parkinglot/config/routes.rb
+2
-0
No files found.
parkinglot/app/controllers/pages_controller.rb
View file @
eedbfdfd
...
@@ -2,4 +2,7 @@ class PagesController < ApplicationController
...
@@ -2,4 +2,7 @@ class PagesController < ApplicationController
def
index
def
index
render
"pages/index.html.erb"
render
"pages/index.html.erb"
end
end
def
group
render
"pages/group.html.erb"
end
end
end
\ No newline at end of file
parkinglot/config/routes.rb
View file @
eedbfdfd
Rails
.
application
.
routes
.
draw
do
Rails
.
application
.
routes
.
draw
do
root
(
to
:"pages#index"
)
root
(
to
:"pages#index"
)
get
"/carlogs"
,
to:
"car_logs#index"
get
"/carlogs"
,
to:
"car_logs#index"
get
"/group"
,
to:
"pages#group"
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