README.md in rails-brochure-0.1.1 vs README.md in rails-brochure-0.2

- old
+ new

@@ -8,23 +8,22 @@ Most of the designers I have worked with really appreciate the power and convenience this plugin provides. They are able to simply create erb files in folders like they are used to with static html or php and it just works. No futzing with routes, controllers etc. Installation ------------ -Rails 3 required. +Rails 5+ required. Include in your Gemfile: gem "rails-brochure" Don't forget to install: $ bundle install -You can install from the command line as well: + $ rails generate brochure home - $ sudo gem install rails-brochure Usage ----- Write your static pages and put them in the RAILS_ROOT/app/views/home directory. @@ -54,11 +53,11 @@ Name Routes? -------- Named routes are good because if you change a page name (about.html.erb to about_us.html.erb) without updating the links you'll get failing tests: - ActionView::TemplateError: undefined local variable or method `about_path' + ActionView::TemplateError: undefined local variable or method `about_path' Override -------- @@ -95,6 +94,6 @@ Enjoy! License ------- -Rails Brochure is Copyright © 2010-2011 Dan Hixon. It is free software, and may be redistributed under the terms specified in the MIT-LICENSE file. +Rails Brochure is Copyright © 2010-2024 Dan Hixon. It is free software, and may be redistributed under the terms specified in the MIT-LICENSE file. \ No newline at end of file