Rake routes : 

  Prefix Verb       URI Pattern                Controller#Action                
                                                                                
                                                                                
                    
        new_admin_session GET    /admins/sign_in(.:format)  devise/sessions#new 
                                                                                
                                                                                
                                 
            admin_session POST   /admins/sign_in(.:format)  
devise/sessions#create                                                          
                                                                                
                                                     
    destroy_admin_session DELETE /admins/sign_out(.:format) 
devise/sessions#destroy                                                         
                                                                                
                                                     
cancel_admin_registration GET    /admins/cancel(.:format)   
devise/registrations#cancel                                                     
                                                                                
                                                     
       admin_registration POST   /admins(.:format)          
devise/registrations#create                                                     
                                                                                
                                                     
   new_admin_registration GET    /admins/sign_up(.:format)  
devise/registrations#new                                                        
                                                                                
                                                     
  edit_admin_registration GET    /admins/edit(.:format)     
devise/registrations#edit                                                       
                                                                                
                                                     
                          PATCH  /admins(.:format)          
devise/registrations#update                                                     
                                                                                
                                                     
                          PUT    /admins(.:format)          
devise/registrations#update                                                     
                                                                                
                                                     
                          DELETE /admins(.:format)          
devise/registrations#destroy                                                    
                                                                                
                                                     
           dashboard_show GET    /dashboard/show(.:format)  dashboard#show      
                                                                                
                                                                                
                                 
                     root GET    /                          dashboard#show      

I tried already  new_admin_registration but then I see the same error 
message.

Roelof


Op woensdag 13 augustus 2014 21:09:30 UTC+2 schreef Germano Teixeira:

> run "rake routes" in cosole to see your login path.
>
>
> 2014-08-13 16:08 GMT-03:00 Germano Teixeira <[email protected] 
> <javascript:>>:
>
>> You have to look in your routes file what is your login_path. 
>> login_path is just a example.
>>
>>
>> 2014-08-13 15:24 GMT-03:00 Roelof Wobben <[email protected] 
>> <javascript:>>:
>>
>> Sorry but I do not work.  I see a message that login_path is not known. I 
>>> think that devise is messing things  up. 
>>>
>>> Roelof
>>>
>>> Op woensdag 13 augustus 2014 17:56:23 UTC+2 schreef Eric Saupe:
>>>
>>>> No, the render command goes in your layout in this case since it is 
>>>> something that a lot of your views are using.
>>>>
>>>> <%= render “sidebar” unless current_page?(login_path) %>
>>>>
>>>>
>>>>
>>>>
>>>> On Wednesday, August 13, 2014 12:32:48 AM UTC-6, Roelof Wobben wrote:
>>>>>
>>>>> oke , and put this in the controller ??
>>>>>
>>>>> Roelof
>>>>>
>>>>>
>>>>> Op woensdag 13 augustus 2014 08:26:52 UTC+2 schreef matt:
>>>>>
>>>>>> you could use current_page with route to check the page.  Ex:
>>>>>> render “sidebar” unless current_page?(login_path)
>>>>>>
>>>>>> Matt
>>>>>> On Aug 13, 2014, at 2:20 AM, Roelof Wobben <[email protected]> 
>>>>>> wrote:
>>>>>>
>>>>>> Hello, 
>>>>>>
>>>>>> Allmost all pages have the same layout except the login page.
>>>>>> There the sidebar with menu is not visible. 
>>>>>>
>>>>>> Is there a way to tell rails that when im on the login page the 
>>>>>> sidebar must not be visible. 
>>>>>>
>>>>>> Roelof
>>>>>>
>>>>>>
>>>>>> -- 
>>>>>> 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 [email protected].
>>>>>> To post to this group, send email to [email protected].
>>>>>> To view this discussion on the web visit https://groups.google.com/d/
>>>>>> msgid/rubyonrails-talk/fc9ab3e6-e2ee-4417-adab-
>>>>>> 653d4f210fa5%40googlegroups.com 
>>>>>> <https://groups.google.com/d/msgid/rubyonrails-talk/fc9ab3e6-e2ee-4417-adab-653d4f210fa5%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>
>>>>>>
>>>>>>  -- 
>>> 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 [email protected] <javascript:>.
>>> To post to this group, send email to [email protected] 
>>> <javascript:>.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/rubyonrails-talk/37981169-3bba-4ff8-a097-d75691726512%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/rubyonrails-talk/37981169-3bba-4ff8-a097-d75691726512%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/4c5f7943-6ac2-4efc-9e02-65e563a03510%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to