move sinatra-decompile to custom extensions
This commit is contained in:
parent
5973703b03
commit
cf6de883d0
|
@ -28,8 +28,6 @@ Currently included:
|
|||
* `sinatra/content_for`: Adds Rails-style `content_for` helpers to Haml, Erb,
|
||||
Erubis and Slim.
|
||||
|
||||
* `sinatra/decompile`: Recreates path patterns from Sinatra's internal data
|
||||
structures (used by other extensions)/
|
||||
|
||||
* `sinatra/link_header`: Helpers for generating `link` HTML tags and
|
||||
corresponding `Link` HTTP headers. Adds `link`, `stylesheet` and `prefetch`
|
||||
|
@ -49,7 +47,12 @@ To be included soon:
|
|||
## Custom Extensions
|
||||
|
||||
These extensions may add additional dependencies and enhance the behavior of the
|
||||
existing APIS.
|
||||
existing APIs.
|
||||
|
||||
Currently included:
|
||||
|
||||
* `sinatra/decompile`: Recreates path patterns from Sinatra's internal data
|
||||
structures (used by other extensions)/
|
||||
|
||||
To be included soon:
|
||||
|
||||
|
|
|
@ -8,7 +8,6 @@ module Sinatra
|
|||
# Sinatra::Application by default.
|
||||
module Common
|
||||
register :ConfigFile
|
||||
register :Decompile
|
||||
register :Namespace
|
||||
register :RespondWith
|
||||
helpers :ContentFor
|
||||
|
@ -19,6 +18,7 @@ module Sinatra
|
|||
# Other extensions you don't want to be loaded unless needed.
|
||||
module Custom
|
||||
# register :Compass
|
||||
register :Decompile
|
||||
end
|
||||
|
||||
##
|
||||
|
|
Loading…
Reference in New Issue