summaryrefslogtreecommitdiff
path: root/config/initializers/add_controller_methods.rb
AgeCommit message (Collapse)Author
2014-05-26Controller#flash_for instead of FlashResponderAzul
FlashResponder added a flash before responding. However at the point of responding objects have already been saved. So there is no way to test if they were changed. Now instead we can call flash_for resource before resource.save and it will add the flash messages only if the resource was actually changed.
2014-04-08move users: config and libAzul