comfy-admin-constructor 0.1.11 → 0.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  module Comfy
2
2
  module Admin
3
3
  module Constructor
4
- VERSION = "0.1.11"
4
+ VERSION = "0.1.12"
5
5
  end
6
6
  end
7
7
  end
@@ -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") { |f|
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: comfy-admin-constructor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: