diff --git a/app/controllers/about_controller.rb b/app/controllers/about_controller.rb new file mode 100644 index 00000000..9397eab0 --- /dev/null +++ b/app/controllers/about_controller.rb @@ -0,0 +1,4 @@ +class AboutController < ApplicationController + def terms + end +end diff --git a/app/controllers/static_controller.rb b/app/controllers/static_controller.rb deleted file mode 100644 index c6df11e2..00000000 --- a/app/controllers/static_controller.rb +++ /dev/null @@ -1,2 +0,0 @@ -class StaticController < ApplicationController -end diff --git a/app/views/static/terms.html.haml b/app/views/about/terms.html.haml similarity index 100% rename from app/views/static/terms.html.haml rename to app/views/about/terms.html.haml diff --git a/config/routes.rb b/config/routes.rb index da7abc7e..af5dda38 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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