comfy-admin-constructor 0.1.11 → 0.1.12
Sign up to get free protection for your applications and to get access to all the features.
@@ -61,9 +61,7 @@ class CmsAdminGenerator < Rails::Generators::Base
|
|
61
61
|
end
|
62
62
|
|
63
63
|
def append_to_nav_template
|
64
|
-
File.open("app/views/admin/_navigation.html.haml", "a") {
|
65
|
-
f.write("%li= link_to class_name.underscore.humanize.downcase.titleize.pluralize, 'admin_#{class_name.underscore.downcase}_path'")
|
66
|
-
}
|
64
|
+
File.open(destination_path("app/views/admin/_navigation.html.haml", "a")) {|f| f.write("%li= link_to 'Blah', '#'\n")}
|
67
65
|
end
|
68
66
|
|
69
67
|
private
|