ERROR

localhost:3000/welcome/index

NameError in WelcomeController#index
undefined local variable or method `login_url' for 
#<WelcomeController:0x00007fa9da705068>
Extracted source (around line *#47*):

45
46
47
48
49
50
              

  def deny_access
    session[:forward_to] = request.fullpath
    redirect_to login_url
  end
  def check_admin

Rails.root: /Users/snowflake/Documents/Current Website/pcms

On Monday, June 25, 2018 at 3:30:19 PM UTC-5, Hassan Schroeder wrote:
>
> On Mon, Jun 25, 2018 at 1:24 PM, Stephanie_Snowflake 
> <spicyc...@gmail.com <javascript:>> wrote: 
> > Yes ran locally with the original versions of everything. Yes all the 
> test 
> > passed. 
> > 
> > Currently the only error is on the Welcome Controller. 
> > 
> > No errors in the console 
>
> If there's a problem I'd expect it in the console or in the development 
> log file. 
>
> Where is this "error" you're seeing? Can you paste it in here? 
>
> -- 
> Hassan Schroeder ------------------------ hassan.s...@gmail.com 
> <javascript:> 
> twitter: @hassan 
> Consulting Availability : Silicon Valley or remote 
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/ce21d0e8-7baf-43a2-99cd-d3e67d504031%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to