Remove a Padrino hack. They fixed the bug upstream and now our hack is the problem. Closes #1327
This commit is contained in:
parent
05aa396399
commit
625391953a
2 changed files with 2 additions and 2 deletions
|
@ -23,9 +23,10 @@ Feature: Support slim templating language
|
|||
Scenario: Slim Content For
|
||||
Given the Server is running at "slim-content-for-app"
|
||||
When I go to "/index.html"
|
||||
Then I should not see "Content AContent B"
|
||||
Then I should see "Content for A:Content A"
|
||||
Then I should see "Content for main:Content Main"
|
||||
Then I should see "Content for B:Content AContent B"
|
||||
Then I should see "Content for B:Content B"
|
||||
|
||||
Scenario: Rendering Scss in a Slim filter
|
||||
Given an empty app
|
||||
|
|
|
@ -73,7 +73,6 @@ class Middleman::CoreExtensions::DefaultHelpers < ::Middleman::Extension
|
|||
|
||||
def auto_find_proper_handler(&block)
|
||||
engine = block_given? ? File.extname(block.source_location[0])[1..-1].to_sym : current_engine
|
||||
return if engine == :slim && engine == current_engine
|
||||
handler_class = ::Padrino::Helpers::OutputHelpers.handlers[engine]
|
||||
handler_class && handler_class.new(self)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue