mirror of
https://github.com/github/rails.git
synced 2026-01-10 07:08:08 -05:00
clear! does not need to be called from initialize
This commit is contained in:
@@ -225,17 +225,16 @@ module ActionDispatch
|
||||
self.valid_conditions.delete(:id)
|
||||
self.valid_conditions.push(:controller, :action)
|
||||
|
||||
@append = []
|
||||
@prepend = []
|
||||
@append = []
|
||||
@prepend = []
|
||||
@disable_clear_and_finalize = false
|
||||
@finalized = false
|
||||
|
||||
@set = Journey::Routes.new
|
||||
@router = Journey::Router.new(@set, {
|
||||
:parameters_key => PARAMETERS_KEY,
|
||||
:request_class => request_class})
|
||||
@formatter = Journey::Formatter.new @set
|
||||
|
||||
clear!
|
||||
end
|
||||
|
||||
def draw(&block)
|
||||
|
||||
Reference in New Issue
Block a user