lib/ab_admin/controllers/callbacks.rb in ab_admin-0.3.6 vs lib/ab_admin/controllers/callbacks.rb in ab_admin-0.4.0

- old
+ new

@@ -12,11 +12,11 @@ #def build_resource # object = super # run_build_callbacks object # object #end - # + def create_resource(object) run_create_callbacks object do save_resource(object) end end @@ -42,10 +42,10 @@ #end # Simple callback system. Implements before and after callbacks for # use within the controllers. # - # We didn't use the ActiveSupport callbacks becuase they do not support + # We didn't use the ActiveSupport callbacks because they do not support # passing in any arbitrary object into the callback method (which we # need to do) def call_callback_with(method, *args) case method \ No newline at end of file