Browse files

also delegate register

  • Loading branch information...
1 parent 1e0a647 commit 38f71248f839b95f6d17747a2c177bdd83f95f78 @rkh rkh committed Oct 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/sinatra/base.rb
View
2 lib/sinatra/base.rb
@@ -1759,7 +1759,7 @@ def self.delegate(*methods)
delegate :get, :patch, :put, :post, :delete, :head, :options, :template, :layout,
:before, :after, :error, :not_found, :configure, :set, :mime_type,
:enable, :disable, :use, :development?, :test?, :production?,
- :helpers, :settings
+ :helpers, :settings, :register
class << self
attr_accessor :target

0 comments on commit 38f7124

Please sign in to comment.