Skip to content

Commit

Permalink
moved :has_layout? from dryml to hobo [#897 state:resolved]
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnexus committed Mar 27, 2011
1 parent e744d2a commit 798e2ca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 0 additions & 5 deletions dryml/lib/dryml/extensions/action_controller/dryml_methods.rb
Expand Up @@ -6,11 +6,6 @@

attr_accessor :dryml_fallback_tag

# dryml does not use layouts
def action_has_layout?
false
end

def dryml_context
@this
end
Expand Down
6 changes: 6 additions & 0 deletions hobo/lib/hobo/controller.rb
Expand Up @@ -98,6 +98,12 @@ def ajax_update_response(render_specs, results={}, options={})
end


# dryml does not use layouts
def action_has_layout?
false
end


def dryml_context
@this
end
Expand Down

0 comments on commit 798e2ca

Please sign in to comment.