Created
October 28, 2013 21:28
-
-
Save FineLineAutomation/7205157 to your computer and use it in GitHub Desktop.
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
# This is what is currently in app/controllers/admin/orders_controller | |
before_filter :load_order, :only => [:show, :edit, :update, :fire, :resend] | |
# I want to add the print action to the filter. | |
# In my controller decorater, I have the below line | |
before_filter :load_order, :only => [:show, :edit, :update, :fire, :resend, :print] | |
# I am worried that redefining the filter will cause problems with extensions. | |
# Is there a syntax I can use to just add the print action to the filter? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment