comfy-admin-constructor 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -19,7 +19,7 @@ Requirements
19
19
  There are plans to make CAC more flexible in the future, but right now it assumes a few things about your CMS install:
20
20
 
21
21
  * You don't store your models in sub-directories
22
- * Your CMS initializer specifies a custom navigation template at **/admin/_navigation**
22
+ * Your CMS initializer specifies a custom navigation template at **/[your admix route prefix]/_navigation**
23
23
 
24
24
  Upcoming Features
25
25
  ----------------
@@ -49,12 +49,12 @@ CAC will automatically generate a bunch of files for us:
49
49
 
50
50
  create app/models/event_listing.rb
51
51
  create db/migrate/20120721145844_create_event_listings.rb
52
- create app/controllers/admin/event_listings_controller.rb
53
- create app/views/admin/event_listings/_form.html.haml
54
- create app/views/admin/event_listings/edit.html.haml
55
- create app/views/admin/event_listings/index.html.haml
56
- create app/views/admin/event_listings/new.html.haml
57
- route namespace(:admin){ resources :event_listings, :except => [:show] }
52
+ create app/controllers/cms-admin/event_listings_controller.rb
53
+ create app/views/cms-admin/event_listings/_form.html.haml
54
+ create app/views/cms-admin/event_listings/edit.html.haml
55
+ create app/views/cms-admin/event_listings/index.html.haml
56
+ create app/views/cms-admin/event_listings/new.html.haml
57
+ route namespace(:cms-admin){ resources :event_listings, :except => [:show] }
58
58
 
59
59
  So, what happened there?
60
60
 
@@ -1,7 +1,7 @@
1
1
  module Comfy
2
2
  module Admin
3
3
  module Constructor
4
- VERSION = "0.3.0"
4
+ VERSION = "0.3.1"
5
5
  end
6
6
  end
7
7
  end
@@ -136,7 +136,7 @@ private
136
136
  end
137
137
 
138
138
  def admin_prefix
139
- ComfortableMexicanSofa.config.admin_route_prefix
139
+ ComfortableMexicanSofa.config.admin_route_prefix.underscore
140
140
  end
141
141
 
142
142
  end
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.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-27 00:00:00.000000000 Z
12
+ date: 2012-11-15 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: ComfyAdminConstructor allows you to quickly and easily build basic admin
15
15
  interfaces in ComfortableMexicanSofa.