bootstrap_actioncell 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,13 +5,6 @@
5
5
  != link_to b[:path], b[:options] do
6
6
  %i{:class => "icon-#{b[:icon]}"}
7
7
 
8
- - if current_ability.blank? or can? :update, resource
9
- != link_to url_for(:controller => resource.class.name.demodulize.underscore.pluralize, :action => 'edit', :id => resource.id), {:class => "btn btn-mini", "data-toggle" => "tooltip", :title => "Edit"} do
10
- %i.icon-pencil
11
- - if current_ability.blank? or can? :destroy, resource
12
- != link_to url_for(:controller => resource.class.name.demodulize.underscore.pluralize, :action => 'destroy', :id => resource.id), {:class => "btn btn-mini", "data-toggle" => "tooltip", :title => "Delete", :method => "delete", :confirm => "Are you sure you want to delete this #{resource.class.name.demodulize.underscore.split("_").join(" ")}?"} do
13
- %i.icon-remove-2
14
-
15
8
  - if actions.any?
16
9
  .btn-group.pull-right
17
10
  = link_to "#", :class => "btn btn-mini dropdown-toggle", :data => {:toggle => "dropdown"} do
@@ -1,3 +1,3 @@
1
1
  module BootstrapActioncell
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap_actioncell
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -143,7 +143,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
143
143
  version: '0'
144
144
  segments:
145
145
  - 0
146
- hash: -4332477587900814721
146
+ hash: 2269401660841202424
147
147
  required_rubygems_version: !ruby/object:Gem::Requirement
148
148
  none: false
149
149
  requirements:
@@ -152,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
152
152
  version: '0'
153
153
  segments:
154
154
  - 0
155
- hash: -4332477587900814721
155
+ hash: 2269401660841202424
156
156
  requirements: []
157
157
  rubyforge_project:
158
158
  rubygems_version: 1.8.25