diff --git a/app/controllers/static_pages_controller.rb b/app/controllers/static_pages_controller.rb index 7b349b3..3b5818d 100644 --- a/app/controllers/static_pages_controller.rb +++ b/app/controllers/static_pages_controller.rb @@ -1,30 +1,2 @@ class StaticPagesController < ApplicationController - def home - end - - def contact - end - - def team - end - - def clients - end - - def services - end - - def publications - end - - def guide - path = "#{Rails.root}/public/assets/Users_Manual_4_7_2014.pdf" - path = "#{Rails.root}/app/views/static_pages/Users_Manual_4_7_2014.pdf" - - send_file( path, - :disposition => 'inline', - :type => 'application/pdf', - :x_sendfile => true ) - end - end diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index ca05756..ebdc889 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -25,7 +25,8 @@ diff --git a/config/routes.rb b/config/routes.rb index 2755b9b..4f1fbfe 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -9,8 +9,7 @@ get 'calculator' => 'workflows#new' # Static pages - get 'about/' => 'static_pages#about' - get 'guide/' => 'static_pages#guide' + get 'about' => 'static_pages#about' # AJAX handlers get 'get_biome' => 'workflows#get_biome' diff --git a/public/GHGVC_Method_Sources.pdf b/public/GHGVC_Method_Sources.pdf new file mode 100644 index 0000000..8870501 Binary files /dev/null and b/public/GHGVC_Method_Sources.pdf differ diff --git a/app/views/static_pages/Users_Manual_4_7_2014.pdf b/public/Users_Manual_4_7_2014.pdf similarity index 100% rename from app/views/static_pages/Users_Manual_4_7_2014.pdf rename to public/Users_Manual_4_7_2014.pdf