> On Tuesday, June 11, 2013 5:32:46 AM UTC-7, jayvandal wrote: >> >> what statements makes the program execute. >> The main statement tells the program to execute server file >> what statements in the server file tell the program to run the welcome >> file ? the user file
Is welcome.clj in src/my_website/views/? If so, it looks like the line '(server/load-views "src/my_website/views/")' will execute welcome.clj, including the 'defpage "/welcome"' (see http://www.webnoir.org/autodoc/1.2.0/noir.server-api.html#noir.server/load-views). That defpage tells the server what to do when /welcome is accessed over the web - and it calls the layout function in common.clj, which calls login-form, which creates the login screen. -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.