看看不同的 Select :
一种是将静态页面放在public/文件夹中,但我确实希望布局/应用程序的标题保持一致.
我试过了,但我错了:
# in routes.rb:
map.connect '*path', :controller => 'content', :action => 'show'
# in content_controller.rb:
def show
render :action => params[:path].join('/')
end
我想要的只是一种简单的方式,通过创建一个简单的应用程序,将我的faq、联系人、tos、隐私和其他非应用程序类型的页面放在一起.rhtml.是谁干的?