How to do static content in Rails?
问题 Looking at different options: One is to just put the static pages in the public/ folder, but I do want the header from layout/application to be consistent. I tried this, but I got an error: # in routes.rb: map.connect \'*path\', :controller => \'content\', :action => \'show\' # in content_controller.rb: def show render :action => params[:path].join(\'/\') end All I want is an easy way to put together things like my faq, contact, tos, privacy, and other non-application type pages somewhere