comfy-admin-constructor 0.1.3 → 0.1.4

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.3"
4
+ VERSION = "0.1.4"
5
5
  end
6
6
  end
7
7
  end
@@ -54,6 +54,12 @@ class CmsAdminGenerator < Rails::Generators::Base
54
54
  }
55
55
  end
56
56
 
57
+ def add_navigation
58
+ if !File.exist? destination_path("app/views/admin/_navigation.html.haml")
59
+ template "partials/_navgation.html.haml", "app/views/admin/_navigation.html.haml"
60
+ end
61
+ end
62
+
57
63
  private
58
64
 
59
65
  def model_path
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.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -38,6 +38,7 @@ files:
38
38
  - lib/generators/cms_admin/templates/controller.rb
39
39
  - lib/generators/cms_admin/templates/migration.rb
40
40
  - lib/generators/cms_admin/templates/model.rb
41
+ - lib/generators/cms_admin/templates/partials/_navigation.html.haml
41
42
  - lib/generators/cms_admin/templates/protected/build.rb
42
43
  - lib/generators/cms_admin/templates/protected/load.rb
43
44
  - lib/generators/cms_admin/templates/views/_form.html.haml