toolbox 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -99,7 +99,7 @@ module Toolbox
99
99
  end
100
100
  end
101
101
  format.xml { render :xml => rec }
102
- format.pdf { render @show_config.pdf_options }
102
+ format.pdf #{ render @show_config.pdf_options }
103
103
  format.csv { stream_csv show_csv(rec, params) }
104
104
  end
105
105
  end
@@ -373,7 +373,7 @@ module Toolbox
373
373
  when 'show'
374
374
  @view.link_to label, @view.polymorphic_path(rec), :class => css_class
375
375
  when 'destroy'
376
- msg = _('Are you sure?') #@view.send(:_, 'Are you sure?')
376
+ msg = @view.send(:_, 'Are you sure?')
377
377
  if context
378
378
  url = @view.polymorphic_path(rec)
379
379
  @view.link_to_remote label, { :url => url, :method => :delete, :confirm => msg }, {:class => css_class }
@@ -1,4 +1,4 @@
1
1
 
2
2
  module Toolbox
3
- VERSION = '0.1.1'
3
+ VERSION = '0.1.2'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toolbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Nyffenegger