forked from OpenNeo/impress
Rename StaticController to AboutController
This is where `/about` pages will go now!
This commit is contained in:
parent
9aef987f95
commit
2cfcfaf69d
4 changed files with 5 additions and 3 deletions
4
app/controllers/about_controller.rb
Normal file
4
app/controllers/about_controller.rb
Normal file
|
@ -0,0 +1,4 @@
|
|||
class AboutController < ApplicationController
|
||||
def terms
|
||||
end
|
||||
end
|
|
@ -1,2 +0,0 @@
|
|||
class StaticController < ApplicationController
|
||||
end
|
|
@ -87,7 +87,7 @@ OpenneoImpressItems::Application.routes.draw do
|
|||
get '/donate' => 'fundraising/campaigns#current', as: :donate
|
||||
|
||||
# Static pages!
|
||||
get '/terms', to: "static#terms", as: :terms
|
||||
get '/terms', to: "about#terms", as: :terms
|
||||
|
||||
# Other useful lil things!
|
||||
get '/sitemap.xml' => 'sitemap#index', :as => :sitemap, :format => :xml
|
||||
|
|
Loading…
Reference in a new issue