Cant preview attached png images on notes
Created by: jacargentina
I get the following result:
Started GET "/uploads/note/attachment/789/bug.png" for 192.168.1.5 at 2013-06-13 15:53:53 -0300
ActionController::RoutingError (No route matches [GET] "/uploads/note/attachment/789/bug.png"):
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
rack (1.4.5) lib/rack/lock.rb:15:in `call'
rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
rack-cache (1.2) lib/rack/cache/context.rb:245:in `fetch'
rack-cache (1.2) lib/rack/cache/context.rb:185:in `lookup'
rack-cache (1.2) lib/rack/cache/context.rb:66:in `call!'
rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
railties (3.2.13) lib/rails/engine.rb:479:in `call'
railties (3.2.13) lib/rails/application.rb:223:in `call'
railties (3.2.13) lib/rails/railtie/configurable.rb:30:in `method_missing'
rack (1.4.5) lib/rack/builder.rb:134:in `call'
rack (1.4.5) lib/rack/urlmap.rb:64:in `block in call'
rack (1.4.5) lib/rack/urlmap.rb:49:in `each'
rack (1.4.5) lib/rack/urlmap.rb:49:in `call'
puma (2.0.1) lib/puma/configuration.rb:66:in `call'
puma (2.0.1) lib/puma/server.rb:364:in `handle_request'
puma (2.0.1) lib/puma/server.rb:243:in `process_client'
puma (2.0.1) lib/puma/server.rb:142:in `block in run'
puma (2.0.1) lib/puma/thread_pool.rb:92:in `call'
puma (2.0.1) lib/puma/thread_pool.rb:92:in `block in spawn_thread'