diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index 8fb1662d..c1705b19 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -9,7 +9,6 @@ * compiled file, but it's generally better to create a new file per style scope. * *= require_self - * require_tree . *= require tracks *= require_tree ../../../vendor/assets/stylesheets */ diff --git a/config/environments/production.rb b/config/environments/production.rb index 5f5d7431..c8fc96af 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -46,7 +46,7 @@ Tracksapp::Application.configure do # config.action_controller.asset_host = "http://assets.example.com" # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added) - # config.assets.precompile += %w( search.js ) + config.assets.precompile += %w( print.css scaffold.css ) # Disable delivery errors, bad email addresses will be ignored # config.action_mailer.raise_delivery_errors = false diff --git a/config/routes.rb b/config/routes.rb index 94c7b0ba..e15b145a 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -135,6 +135,8 @@ Tracksapp::Application.routes.draw do put 'toggle_star' put 'defer' get 'show_notes' + get 'convert_to_project' # TODO: convert to PUT/POST + get 'remove_predecessor' # TODO: convert to PUT/POST end collection do get 'done' @@ -148,7 +150,6 @@ Tracksapp::Application.routes.draw do match 'todos/tag/:name' => 'todos#tag', :as => :tag match 'todos/done/tag/:name' => "todos#done_tag", :as => :done_tag match 'todos/all_done/tag/:name' => "todos#all_done_tag", :as => :all_done_tag - match 'todos/convert_to_project/:id' => "todos#convert_to_project" match 'auto_complete_for_predecessor' => 'todos#auto_complete_for_predecessor' match 'mobile' => 'todos#index', :format => 'm'