Displaying 1 result from an estimated 1 matches for "permanentlink".
2012 Jul 17
24
Static Pages from Railcast
Hi everyone,
I need several pages to be static but also modify when requested. I try
following the railcast from Ryan at
http://railscasts.com/episodes/117-semi-static-pages?view=comments
Here what I have done!!
rails g scaffold Pages name:string permanentlink:string title:string
author:string access_level:string is_published:boolean
meta_description:string meta_keyword:string meta_author:string
content:text
route.db
get ''static/:permanentlink'', :controller => ''pages'', :action =>''show''
show.h...