Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

More fixes

  • Loading branch information...
commit 0133cd953be3296f98c93e5eb6a87815c11bacbd 1 parent 8668b0d
Pratik authored
Showing with 2 additions and 4 deletions.
  1. +2 −1  app/actions/debugging_action.rb
  2. +0 −3  config.ru
3  app/actions/debugging_action.rb
View
@@ -5,7 +5,8 @@ class DebuggingAction < Cramp::Websocket
on_data :received_data
def received_data(data)
- render @debugger.eval_code(data)
+ result = @debugger.respond_to?(data) ? @debugger.send(data) : @debugger.eval_code(data)
+ render result
end
end
3  config.ru
View
@@ -5,9 +5,6 @@ Enlighten::Application.initialize!
if Enlighten::Application.env == 'development'
use AsyncRack::CommonLogger
- # Enable code reloading on every request
- use Rack::Reloader, 0
-
# Serve javascripts and stylesheets from from /public
use Rack::Static, :urls => ["/javascripts", "/stylesheets"], :root => Enlighten::Application.root(:public)
end
Please sign in to comment.
Something went wrong with that request. Please try again.