Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
final_project
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
evilla_gomez_guian_principe
final_project
Commits
edd4e3e8
Commit
edd4e3e8
authored
Jul 20, 2016
by
Galen Evilla
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
basic web design! please improve this haha!
parent
20ed913c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
candidates_controller.rb
Halalan-trial/app/controllers/admin/candidates_controller.rb
+1
-0
positions_controller.rb
Halalan-trial/app/controllers/admin/positions_controller.rb
+1
-0
No files found.
Halalan-trial/app/controllers/admin/candidates_controller.rb
View file @
edd4e3e8
module
Admin
class
CandidatesController
<
ApplicationController
before_action
:authenticate_user!
def
index
@positions
=
Position
.
all
render
"admin/candidates/index.html.erb"
...
...
Halalan-trial/app/controllers/admin/positions_controller.rb
View file @
edd4e3e8
module
Admin
class
PositionsController
<
ApplicationController
before_action
:authenticate_user!
def
index
@positions
=
Position
.
all
render
"admin/positions/index.html.erb"
...
...
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