rails_apps_pages 0.5.7 → 0.5.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.textile +4 -0
- data/lib/generators/pages/users/users_generator.rb +0 -2
- data/lib/rails_apps_pages/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eaa6c3e6aafb3ae2500a3cc4bb9263d67b7e06b4
|
4
|
+
data.tar.gz: cce4fe04b594ce1984409c16186daddc0607f190
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c90ccdc033d727c692b57b14511438a4931b758fa4e8452d2ffe8392b532f2b08b359e91b57391a8a425d58e46fcedf143f78ed9489700493058a71914c91a93
|
7
|
+
data.tar.gz: 0a3e31f66e849cb1c3900edb5845ee170e379186cda5d682ba6421f82ffad0ab9d8eda41ec6648310fe6bd07aa93b88d43496b19eeded5c9cf4af8ac186b1d7c
|
data/CHANGELOG.textile
CHANGED
@@ -25,8 +25,6 @@ module Pages
|
|
25
25
|
def create_omniauth_pages
|
26
26
|
return unless File.exists?('config/initializers/omniauth.rb')
|
27
27
|
copy_file 'omniauth/users_controller.rb', 'app/controllers/users_controller.rb'
|
28
|
-
route = ' resources :users, :only => [:index, :show]'
|
29
|
-
inject_into_file 'config/routes.rb', route + "\n", :after => "root :to => \"visitors#index\"\n"
|
30
28
|
copy_file 'omniauth/_user.html.erb', 'app/views/users/_user.html.erb'
|
31
29
|
copy_file 'omniauth/show.html.erb', 'app/views/users/show.html.erb'
|
32
30
|
end
|