I usually create a PagesController that shows static pages like oh, faq or privacy.
What you need to do is generate a controller using
script/generate controller pages
then add the following to config/routes.rb
map.resources :pages, :only => :show
In your web browser
def show
if params[:id].match /browse|help/
render :partial => params[:id]
else
render :file => "/path/to/some/404_template", :status => 404
end
end
Then you just need to add partial values to app/views/pages/
<p>This is the help section</p>
source
share