hi, guys
I tried using Thoughtbot's High-Voltage to generate static pages in
my app. For some reason, I can't seem to make it work cause it keeps
redirecting to one of my search pages. Anyway, I can't seem to find
more info in the documentation of high-voltage. There was some mention
of "danger" in the docs but that's about it.
I have googled on how to generate static pages using rails but can't
find anything useful.
I guess for the moment, i will have to create a controller (named
after the static resource, "about_us") followed by a corresponding
file in the view.
Anyway, can anyone share a good way of generating static pages?
hi, guys
I tried using Thoughtbot's High-Voltage to generate static pages in
my app. For some reason, I can't seem to make it work cause it keeps
redirecting to one of my search pages. Anyway, I can't seem to find
more info in the documentation of high-voltage. There was some mention
of "danger" in the docs but that's about it.
I have googled on how to generate static pages using rails but can't
find anything useful.
If they're static, don't generate them with Rails. Rails is only for
generating dynamic pages.
I guess for the moment, i will have to create a controller (named
after the static resource, "about_us") followed by a corresponding
file in the view.
No controller needed. Just put the static stuff in the public
directory.
Anyway, can anyone share a good way of generating static pages?
If you really want to *generate* static pages, try StaticMatic. But I
don't think that's what you actually meant.
What kind of problems are you seeing? Maybe you set it up wrong, have
you seen High Voltage ?
Perhaps paste your routes.rb or `rake routes` and that could help too.