lib/crystal/controller_extensions.rb in crystalmeta-0.9.4 vs lib/crystal/controller_extensions.rb in crystalmeta-1.0.0
- old
+ new
@@ -1,8 +1,8 @@
module Crystal
module ControllerExtensions
def self.included(base)
- base.before_filter :_set_meta
+ base.before_action :_set_meta
base.helper_method :meta
end
def meta(options = {})
options.present? && @_meta.store(options)