[Rails] cannot see my own layout (hierapolis gem)

2014-07-12 Thread Roelof Wobben
Hello, I did a whole ruby on rails install. After that I wanted to use the hierapolis gem and did all the steps in the README. But when I do rails s , I still see the standard welcome page. What must I do to make this work. Roelof -- You received this message because you are subscribed to

Re: [Rails] cannot see my own layout (hierapolis gem)

2014-07-12 Thread Walter Lee Davis
In the original install, did you use Rails 4.1, or was it a lower version? If lower, did you delete the index.html file from your /public folder? Walter On Jul 12, 2014, at 7:44 AM, Roelof Wobben wrote: Hello, I did a whole ruby on rails install. After that I wanted to use the hierapolis

Re: [Rails] cannot see my own layout (hierapolis gem)

2014-07-12 Thread Roelof Wobben
Hoi, I use the 4.1 ruby. Roelof Op zaterdag 12 juli 2014 14:24:49 UTC+2 schreef Walter Lee Davis: In the original install, did you use Rails 4.1, or was it a lower version? If lower, did you delete the index.html file from your /public folder? Walter On Jul 12, 2014, at 7:44 AM,

Re: [Rails] cannot see my own layout (hierapolis gem)

2014-07-12 Thread Walter Lee Davis
Then did you update your routes.rb file to reflect where :root should be? Walter On Jul 12, 2014, at 10:38 AM, Roelof Wobben wrote: Hoi, I use the 4.1 ruby. Roelof Op zaterdag 12 juli 2014 14:24:49 UTC+2 schreef Walter Lee Davis: In the original install, did you use Rails 4.1, or

Re: [Rails] cannot see my own layout (hierapolis gem)

2014-07-12 Thread Roelof Wobben
Nope, I only figured out that a application.html.erb is living on /apps/views/layouts but can I send root to a static page ? Roelof Op zaterdag 12 juli 2014 16:53:51 UTC+2 schreef Walter Lee Davis: Then did you update your routes.rb file to reflect where :root should be? Walter On

Re: [Rails] cannot see my own layout (hierapolis gem)

2014-07-12 Thread Walter Lee Davis
If you put a static index.html in the public folder, that will become your site root, or you can use a controller and a route to send a different file, like this: # static_pages_controller.rb class StaticPagesController ApplicationController # empty end