This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Added development hook

  • Loading branch information...
pspeter3 committed Apr 3, 2012
1 parent 51fbb05 commit d0756aad2a078a08081c99f43fbd9e300f1fd7be
Showing with 6 additions and 3 deletions.
  1. +6 −3 app/app.rb
View
@@ -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

0 comments on commit d0756aa

Please sign in to comment.