1
0
Fork 0
forked from OpenNeo/impress

Rename StaticController to AboutController

This is where `/about` pages will go now!
This commit is contained in:
Emi Matchu 2024-03-12 17:12:43 -07:00
parent 9aef987f95
commit 2cfcfaf69d
4 changed files with 5 additions and 3 deletions

View file

@ -0,0 +1,4 @@
class AboutController < ApplicationController
def terms
end
end

View file

@ -1,2 +0,0 @@
class StaticController < ApplicationController
end

View file

@ -87,7 +87,7 @@ OpenneoImpressItems::Application.routes.draw do
get '/donate' => 'fundraising/campaigns#current', as: :donate get '/donate' => 'fundraising/campaigns#current', as: :donate
# Static pages! # Static pages!
get '/terms', to: "static#terms", as: :terms get '/terms', to: "about#terms", as: :terms
# Other useful lil things! # Other useful lil things!
get '/sitemap.xml' => 'sitemap#index', :as => :sitemap, :format => :xml get '/sitemap.xml' => 'sitemap#index', :as => :sitemap, :format => :xml