Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added development hook

  • Loading branch information...
commit d0756aad2a078a08081c99f43fbd9e300f1fd7be 1 parent 51fbb05
@pspeter3 authored
Showing with 6 additions and 3 deletions.
  1. +6 −3 app/app.rb
View
9 app/app.rb
@@ -58,7 +58,10 @@ class Alchemr < Padrino::Application
# end
#
- # before do
- # puts self.request.route_obj.named
- # end
+ # Print out the controller during development
+ configure :development do
+ before do
+ puts self.request.route_obj.named
+ end
+ end
end
Please sign in to comment.
Something went wrong with that request. Please try again.