title: How can I combine the front end code in /public with back end code in /apps
body: <p>I'm new to rails, and created a simple bootstrap site and put it all under /public folder.</p>
  
  <p>Now I wanted to make a contact form so I followed <a href="http://matharvard.ca/posts/2011/aug/22/contact-form-in-rails-3/" rel="nofollow">this</a> tutorial and made a simple rails app.</p>
  
  <p>My question is, following the tutorial the contact form UI created is in /app/views, which does not have the same styling as my bootstrap UI. Is there a why for me to create a form in the /public htmls and call some of the function in the rails backend?</p>