I am working with Devise and I am trying to override the registrations controller.
I have followed posts on here with no luck.
This is what I have:
class AccountsController::RegistrationsController < Devise::RegistrationsController
def new
super
end
end
devise_for :accounts, :controllers => {:registrations => "accounts/registrations"} do
get "welcome" => "accounts#new", :as => :new_account
end
I also created an account folder in views and added the new view.
I receive the following error:
app/controllers/accounts_controller.rb:1:in `<top (required)>'