I have built a rails application. I have installed Devise for Users registraion and added the before_action :authenticate_user!
Method, However what this method does is redirect the user who didn't sign up to the login page. What i want is to redirect them to the sign up page instead of the login page.
Here's my code:
rails_course_controller.rb
class RailsCourseController < ApplicationController
before_action :authenticate_user!
def railsDashboard
end
def getting_started
end
def whatisurbyandrails
end
def downloadRails
end
def windows_download
end
end