lib/generators/controller/templates/controller_layout.rb.erb in trackman-0.6.5 vs lib/generators/controller/templates/controller_layout.rb.erb in trackman-0.6.6
- old
+ new
@@ -1,8 +1,7 @@
class <%= controller_name.camelize %>Controller < ApplicationController
include Trackman::Scaffold::ContentSaver
- after_filter :save_filters if Rails.env.development?
- after_filter :render_filters
+ after_filter :render_content if Rails.env.development?
# ContentSaver defines two class methods for filtering the ouput of your pages
#
# Note that it uses nokogiri to parse the output.
# You can call the methods multiples times if you need, it will stack the calls.