README.textile in rails_apps_pages-0.4.5 vs README.textile in rails_apps_pages-0.4.6

- old
+ new

@@ -77,35 +77,28 @@ You'll need to install the "high_voltage gem":https://github.com/thoughtbot/high_voltage for the "About" page. The high_voltage gem makes it easy to add pages with static content (text that doesn't change), incorporating a site-wide application layout. The high_voltage gem provides the controller and routes needed to display any pages found in the *app/views/pages/* folder. h2. Generate User Pages Requiring Authentication -If you have a User model and authentication with Devise, you can add pages to display a list of users or each user's profile, restricted to signed in users. +If you have a User model and authentication with Devise or OmniAuth, you can add pages to display a list of users or each user's profile, restricted to signed in users. To run the generator and create pages to accompany a User model: <pre> $ rails generate pages:users </pre> The generator will create: -* app/controllers/registrations_controller.rb * app/controllers/users_controller.rb * app/controllers/visitors_controller.rb * app/views/users/_user.html.erb * app/views/users/index.html.erb * app/views/users/show.html.erb * app/views/visitors/index.html.erb * plus tests (if RSpec is installed) -It will add routes to the *config/routes.rb* file: - -<pre> -root :to => "visitors#index" -devise_for :users, :controllers => {:registrations => "registrations"} -resources :users -</pre> +It will also add routes to the *config/routes.rb* file. h2. Generate User Pages Requiring Authorization If you have a User model, authentication with Devise, and authorization with Pundit, you can add pages to display a list of users, restricted to an administrator. Each user can see his or her own profile if logged in.