Skip to content

Instantly share code, notes, and snippets.

@jeremyf
Created January 18, 2013 16:48
Show Gist options
  • Save jeremyf/4565978 to your computer and use it in GitHub Desktop.
Save jeremyf/4565978 to your computer and use it in GitHub Desktop.
Override and engine's method
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