Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Add an example of the new content_path to the README #24

Merged
merged 2 commits into from

2 participants

@heeton

I had to look into the code to sort it out for myself, so I just stuck a little something into the readme.

@mike-burns mike-burns merged commit 012a65b into thoughtbot:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 9 additions and 0 deletions.
  1. +9 −0 README.md
View
9 README.md
@@ -71,6 +71,15 @@ You can route the root url to a high voltage page like this:
Which will render a homepage from app/views/pages/home.html.erb
+Customize
+--------
+
+High Voltage uses a default path and folder of 'pages', i.e. 'url.com/pages/contact' , 'app/views/pages'
+
+You can change this in an initializer:
+
+ HighVoltage.content_path = "site/"
+
Override
--------
Something went wrong with that request. Please try again.