Skip to content

Commit a415ec0

Browse files
Cleaned up deprecated pages
Removed the following: Pages/Controller/Route: about, hello, staff, team Removed old references in routes that were no longer in use throughout the application.
1 parent b6a151a commit a415ec0

8 files changed

Lines changed: 0 additions & 182 deletions

File tree

app/controllers/pages_controller.rb

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
class PagesController < ApplicationController
2-
def about
3-
end
4-
52
def deploy
63
end
74

@@ -32,9 +29,6 @@ def founder
3229
def hackathons
3330
end
3431

35-
def hello
36-
end
37-
3832
def media
3933
end
4034

@@ -62,12 +56,6 @@ def scholarships
6256
def speakerrequest
6357
end
6458

65-
def staff
66-
end
67-
6859
def successes
6960
end
70-
71-
def team
72-
end
7361
end

app/views/pages/about.html.erb

Lines changed: 0 additions & 24 deletions
This file was deleted.

app/views/pages/action.html.erb

Lines changed: 0 additions & 7 deletions
This file was deleted.

app/views/pages/donations.html.erb

Whitespace-only changes.

app/views/pages/hello.html.erb

Lines changed: 0 additions & 52 deletions
This file was deleted.

app/views/pages/staff.html.erb

Lines changed: 0 additions & 32 deletions
This file was deleted.

app/views/pages/team.html.erb

Lines changed: 0 additions & 51 deletions
This file was deleted.

config/routes.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
resources :veterans
77
resources :donations, only: [:index, :new, :create]
88

9-
get "about" => "pages#about"
109
get "deploy" => "pages#deploy"
1110
get "board" => "pages#board"
1211
get "contact" => "pages#contact"
@@ -29,7 +28,6 @@
2928
get "scholarships" => "pages#scholarships"
3029
get "speakerrequest" => "pages#speakerrequest"
3130
get "successes" => "pages#successes"
32-
get "team" => "pages#team"
3331

3432
get "action" => "veterans#new"
3533

@@ -39,8 +37,6 @@
3937
get "/flatiron" => redirect("https://learn.co/learn-together")
4038
get "/launchparty" => redirect("http://www.eventbrite.com/e/operation-code-launch-party-tickets-16494832488")
4139
get "/donate" => redirect("/donations/new")
42-
get "/staff" => redirect("/board")
43-
get "/hello" => redirect("/founder")
4440
get "/learn" => redirect("/online")
4541
get "/contribute" => redirect("https://github.com/OperationCode/operationcode/blob/master/CONTRIBUTING.md")
4642
get "/news" => redirect("/newgibill")

0 commit comments

Comments
 (0)