I think I don't understand well your question, but I'll try to explain anyway how these works. To have custom views on the hello_world example given in the wiki, you should do something like this:
1) Once you are authenticated via the ensure_authenticated filter, the views rendered are the ones pointed in the render method. If you want to render the new view in the hello_world controller given on the wiki, you should invoke only render and then have a "new.html.erb" file in the "app/views/hello_world/" folder, in case the user is not authenticated successfully, normally a Unauthenticated exception is raised, on this scenario, you should write a method called unauthenticated on the exceptions controller, and then you decide what you should do, a redirect or a render. I hope this answers your question somehow. If not please be more specific. Roman. On Oct 27, 6:35 am, Dermot Brennan <[EMAIL PROTECTED]> wrote: > Hi, > > I'm just trying out merb-auth and I've gotten the basics working by > followinghttp://wiki.merbivore.com/cookbook/authenticated_hello_world > . Now I want to do things like customize the views. How do I do that? > Is there any documentation for that? Is there any example applications > on github that have used and customised merb-auth? > > Thanks, > Dermot --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/merb?hl=en -~----------~----~----~----~------~----~------~--~---
