swsnu / wecfall2014

0 stars 0 forks source link

question about routes (warm-up assignment) #8

Open bangtoven opened 9 years ago

bangtoven commented 9 years ago

Is it the right approach to make another routes in addition to the specified routes with json interface, which are -POST /signup -POST /login -POST /clearData , in the same server? I mean that I would have to add -GET /(index) to get main screen -GET /welcome to get welcome screen .

And, if I chose Rails to do assignment, is it okay to use '.html.erb' format? Or Do I have to write another html document without rails dependency?

johnyangk commented 9 years ago

@bangtoven 1) Yes, you may create additional routes if you want. 2) It is okay to use '.html.erb' format