Created
January 18, 2013 16:48
-
-
Save jeremyf/4565978 to your computer and use it in GitHub Desktop.
Override and engine's method
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
require Sufia::Engine.config.root + 'app' + 'controllers' + 'dashboard_controller' | |
class DashboardController | |
def index | |
# And now index is overridden | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment