refinerycms-portfolio 0.9.5.2 → 0.9.5.3

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.
Files changed (4) hide show
  1. data/config/routes.rb +8 -8
  2. data/rails/init.rb +1 -1
  3. data/readme.md +2 -2
  4. metadata +2 -2
@@ -1,5 +1,13 @@
1
1
  ActionController::Routing::Routes.draw do |map|
2
2
 
3
+ map.resources :portfolio do |portfolio|
4
+ portfolio.resources :portfolio, :as => :portfolio
5
+ end
6
+
7
+ map.namespace(:admin) do |admin|
8
+ admin.resources :portfolio_entries, :as => :portfolio, :collection => {:emancipate => :get}
9
+ end
10
+
3
11
  if RefinerySetting.table_exists? and RefinerySetting.find_or_set(:multi_level_portfolio, true)
4
12
  map.portfolio_project "/portfolio/:id/projects/:portfolio_id", :controller => "portfolio", :action => "show"
5
13
  map.portfolio_image "/portfolio/:id/projects/:portfolio_id/:image_id", :controller => "portfolio", :action => "show"
@@ -10,12 +18,4 @@ ActionController::Routing::Routes.draw do |map|
10
18
 
11
19
  map.portfolio "/portfolio/:id/", :controller => 'portfolio', :action => 'show'
12
20
 
13
- map.resources :portfolio do |portfolio|
14
- portfolio.resources :portfolio, :as => :portfolio
15
- end
16
-
17
- map.namespace(:admin) do |admin|
18
- admin.resources :portfolio_entries, :as => :portfolio, :collection => {:emancipate => :get}
19
- end
20
-
21
21
  end
@@ -3,7 +3,7 @@ Refinery::Plugin.register do |plugin|
3
3
  plugin.title = "Portfolio"
4
4
  plugin.description = "Manage a portfolio"
5
5
  plugin.url = "/admin/#{plugin.title.downcase}"
6
- plugin.version = '0.9.5.2'
6
+ plugin.version = '0.9.5.3'
7
7
  plugin.menu_match = /admin\/portfolio(_entries)?/
8
8
  plugin.activity = {
9
9
  :class => PortfolioEntry,
data/readme.md CHANGED
@@ -28,14 +28,14 @@ Then run:
28
28
 
29
29
  Then place in your config/environment.rb (or config/application.rb for refinery 0.9.6.x) file before all other Refinery gem calls:
30
30
 
31
- config.gem "refinerycms-portfolio", :version => ">= 0.9.5.2", :lib => "portfolio", :source => "http://gemcutter.org"
31
+ config.gem "refinerycms-portfolio", :version => ">= 0.9.5.3", :lib => "portfolio", :source => "http://gemcutter.org"
32
32
 
33
33
  ..and follow the instructions!
34
34
 
35
35
  ### Method Two
36
36
  Place in your config/environment.rb (or config/application.rb for refinery 0.9.6.x) file before all other Refinery gem calls:
37
37
 
38
- config.gem "refinerycms-portfolio", :version => ">= 0.9.5.2", :lib => "portfolio", :source => "http://gemcutter.org"
38
+ config.gem "refinerycms-portfolio", :version => ">= 0.9.5.3", :lib => "portfolio", :source => "http://gemcutter.org"
39
39
 
40
40
  Then run in your application's directory:
41
41
 
metadata CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 0
7
7
  - 9
8
8
  - 5
9
- - 2
10
- version: 0.9.5.2
9
+ - 3
10
+ version: 0.9.5.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Resolve Digital