tracks now starts in production environment with precompiled assets

This commit is contained in:
Reinier Balt 2012-05-18 20:20:50 +02:00
parent 5660329e8e
commit f513e667dc
3 changed files with 3 additions and 3 deletions

View file

@ -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
*/

View file

@ -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

View file

@ -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'