Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix issue where helper wasn't being included with the gem. Really nee…

…d to move to jeweler instead.
  • Loading branch information...
commit 11e99cf21e854608faef7e16b6530d35fcd1de2c 1 parent 9762261
@parndt parndt authored
View
4 app/helpers/portfolio_helper.rb
@@ -1,6 +1,6 @@
module PortfolioHelper
- def portfolio_image_link master, portfolio, image_index
+ def portfolio_image_link(master, portfolio, image_index)
if RefinerySetting.find_or_set(:multi_level_portfolio, true)
portfolio_image_url(master, portfolio, image_index)
else
@@ -8,7 +8,7 @@ def portfolio_image_link master, portfolio, image_index
end
end
- def link_to_portfolio_image master, portfolio, image, index
+ def link_to_portfolio_image(master, portfolio, image, index)
link_to image_fu(image, :portfolio_thumb),
portfolio_image_link(master, portfolio, index),
:class => ( (index == params[:image_id].to_i) ? "selected" : "pale" )
View
2  rails/init.rb
@@ -3,7 +3,7 @@
plugin.title = "Portfolio"
plugin.description = "Manage a portfolio"
plugin.url = "/admin/#{plugin.title.downcase}"
- plugin.version = '0.9.5.1'
+ plugin.version = '0.9.5.2'
plugin.menu_match = /admin\/portfolio(_entries)?/
plugin.activity = {
:class => PortfolioEntry,
View
4 readme.md
@@ -28,14 +28,14 @@ Then run:
Then place in your config/environment.rb (or config/application.rb for refinery 0.9.6.x) file before all other Refinery gem calls:
- config.gem "refinerycms-portfolio", :version => ">= 0.9.5.1", :lib => "portfolio", :source => "http://gemcutter.org"
+ config.gem "refinerycms-portfolio", :version => ">= 0.9.5.2", :lib => "portfolio", :source => "http://gemcutter.org"
..and follow the instructions!
### Method Two
Place in your config/environment.rb (or config/application.rb for refinery 0.9.6.x) file before all other Refinery gem calls:
- config.gem "refinerycms-portfolio", :version => ">= 0.9.5.1", :lib => "portfolio", :source => "http://gemcutter.org"
+ config.gem "refinerycms-portfolio", :version => ">= 0.9.5.2", :lib => "portfolio", :source => "http://gemcutter.org"
Then run in your application's directory:
View
6 refinerycms-portfolio.gemspec
@@ -1,10 +1,10 @@
Gem::Specification.new do |s|
s.name = %q{refinerycms-portfolio}
- s.version = "0.9.5.1"
+ s.version = "0.9.5.2"
s.authors = ["Resolve Digital", "Philip Arndt"]
- s.date = %q{2010-04-08}
+ s.date = %q{2010-04-13}
s.description = %q{A really straightforward open source Ruby on Rails portfolio plugin designed for integration with RefineryCMS.}
s.summary = %q{Ruby on Rails portfolio plugin for RefineryCMS.}
@@ -26,6 +26,8 @@ Gem::Specification.new do |s|
"app/controllers/admin",
"app/controllers/admin/portfolio_entries_controller.rb",
"app/controllers/portfolio_controller.rb",
+ "app/helpers",
+ "app/helpers/portfolio_helper.rb",
"app/models",
"app/models/portfolio_entry.rb",
"app/views",
Please sign in to comment.
Something went wrong with that request. Please try again.