Skip to content

Commit

Permalink
ignoring call in rails3 as per warning
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermesilveira committed Aug 31, 2010
1 parent c24bd6f commit a29010e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions lib/restfulie/server/action_view/template_handlers.rb
Expand Up @@ -19,9 +19,10 @@ def self.activate!
template_registry.register_template_handler(:tokamak,
Restfulie::Server::ActionView::TemplateHandlers::Tokamak)

if defined?(::ActionController::Base) && ::ActionController::Base.respond_to?(:exempt_from_layout)
::ActionController::Base.exempt_from_layout :tokamak
end
# TODO unsure if it can be removed. check feedback prior to 1.0.0
# if defined?(::ActionController::Base) && ::ActionController::Base.respond_to?(:exempt_from_layout)
# ::ActionController::Base.exempt_from_layout :tokamak
# end
end
end
end
Expand Down
4 changes: 2 additions & 2 deletions tests/db/schema.rb
@@ -1,8 +1,8 @@
# This file is auto-generated from the current state of the database. Instead
# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# Note that this schema.rb definition is the authoritative source for your
# Note that this schema.rb definition is the authoritative source for your
# database schema. If you need to create the application database on another
# system, you should be using db:schema:load, not running all the migrations
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
Expand Down

0 comments on commit a29010e

Please sign in to comment.