lib/mcfly/controller.rb in mcfly-0.0.19 vs lib/mcfly/controller.rb in mcfly-0.0.20
- old
+ new
@@ -1,8 +1,8 @@
module Mcfly
module Controller
def self.included(base)
- base.before_filter :set_mcfly_whodunnit
+ base.before_action :set_mcfly_whodunnit
end
# Returns the user who is responsible for any changes that occur.
# By default this calls `current_user` and returns the result.
#