rails_apps_pages 0.5.14 → 0.5.15
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/upmin/upmin_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: 5802c52c8674a590019d42012a54349e641cf61c
|
4
|
+
data.tar.gz: f44a22fc29132d513e54e1f92f7825fe1e11e9db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9bb8c666b0d57939b692361ab2585741df87ee2a11998d2724607ba06adf20467d034699b075459f27ba75e57b1735325817e4458d81feecf0556d6a9b397869
|
7
|
+
data.tar.gz: 8e897bd86b4a457533784727a8896a92c8343421ad452581774c62c521b4315b5bae405d6b2f4e9daade18ee80382683a081ead7bad8d8aa900127aa797f9811
|
data/CHANGELOG.textile
CHANGED
@@ -11,8 +11,6 @@ module Pages
|
|
11
11
|
copy_file 'upmin.rb', 'config/initializers/upmin.rb'
|
12
12
|
route = " mount Upmin::Engine => '/admin'"
|
13
13
|
inject_into_file 'config/routes.rb', route + "\n", :after => "routes.draw do\n"
|
14
|
-
navlink = " <li><%= link_to 'Admin', '/admin' %></li>"
|
15
|
-
inject_into_file 'app/views/layouts/_navigation_links.html.erb', navlink + "\n", :after => "<% if current_user.admin? %>\n"
|
16
14
|
end
|
17
15
|
|
18
16
|
end
|