Skip to content
richlewis14 edited this page Nov 22, 2012 · 1 revision

If you are inheriting methods from a different controller, for example devise, then you can use the word 'super' to inherits its methods

def new
super
end

This will inherit the new method from the devise controller you are inheriting from