created about page

parent 5b1bcb71
......@@ -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
......@@ -45,7 +45,7 @@
<%= link_to "Candidates", admin_candidates_path,{ :class=>""} %>
<%= link_to "Positions", admin_positions_path,{ :class=>""} %>
<a href="/about">Our Team</a>
......
<h1>hello world</h1>
\ No newline at end of file
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment