Skip to content
Browse files

do not splat directores

  • Loading branch information...
1 parent 3356e78 commit afa8aa2c3e7a7fb0d6239190979121e63cc1beb3 @tenderlove committed Jul 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers/browser_controller.rb
View
2 app/controllers/browser_controller.rb
@@ -17,7 +17,7 @@ def index
fsevent = FSEvent.new
# Watch the above directories
- fsevent.watch(*directories) do |dirs|
+ fsevent.watch(directories) do |dirs|
# Send a message on the "refresh" channel on every update
sse.write({ :dirs => dirs }, :event => 'refresh')
end

0 comments on commit afa8aa2

Please sign in to comment.
Something went wrong with that request. Please try again.