Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
candi-date-tayo
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
candi-date-tayo
Commits
1f93f77d
Commit
1f93f77d
authored
Jul 19, 2016
by
Alexander Hans Collado Jr.
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
created about page
parent
5b1bcb71
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
2 deletions
+6
-2
pages_controller.rb
app/controllers/pages_controller.rb
+3
-1
application.html.erb
app/views/layouts/application.html.erb
+1
-1
about.html.erb
app/views/pages/about.html.erb
+1
-0
routes.rb
config/routes.rb
+1
-0
No files found.
app/controllers/pages_controller.rb
View file @
1f93f77d
...
...
@@ -6,5 +6,7 @@ class PagesController < ApplicationController
render
"pages/index.html.erb"
end
def
about
render
"pages/about.html.erb"
end
end
\ No newline at end of file
app/views/layouts/application.html.erb
View file @
1f93f77d
...
...
@@ -45,7 +45,7 @@
<%=
link_to
"Candidates"
,
admin_candidates_path
,{
:class
=>
""
}
%>
<%=
link_to
"Positions"
,
admin_positions_path
,{
:class
=>
""
}
%>
<a
href=
"/about"
>
Our Team
</a>
...
...
app/views/pages/about.html.erb
0 → 100644
View file @
1f93f77d
<h1>
hello world
</h1>
\ No newline at end of file
config/routes.rb
View file @
1f93f77d
...
...
@@ -4,6 +4,7 @@ Rails.application.routes.draw do
root
to:
"pages#index"
get
"/about"
,
to:
"pages#about"
get
"/profile"
,
to:
"users/profile#index"
get
"/voting/new/:id"
,
to:
"voting/votes#new"
...
...
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