Created
August 8, 2011 19:02
-
-
Save lonelydimple/1132459 to your computer and use it in GitHub Desktop.
fidelity_bond_address_updates_controller.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class FidelityBondPrincipalAddressUpdatesController < CommandsController | |
filter_resource_access :additional_member => [ :execute ] | |
before_filter :set_updated_by | |
def after_execute_path | |
command.receiver | |
end | |
def after_execute_flash_message | |
"Principal address updated successfully" | |
end | |
private | |
def set_updated_by | |
@fidelity_bond_principal_address_update.updated_by = current_user | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment