trollied 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -2,7 +2,7 @@
2
2
  <td><%= link_to_purchasable_in(line_item) -%></td>
3
3
  <% if can_delete_line_item?(order) -%>
4
4
  <td>
5
- <%= link_to t('line_items.line_item.delete'), { :controller => :orders,
5
+ <%= link_to t('line_items.line_item.delete'), { :controller => :line_items,
6
6
  :action => :destroy,
7
7
  :id => line_item,
8
8
  :order_id => order,
data/lib/order_status.rb CHANGED
@@ -89,7 +89,7 @@ module OrderStatus
89
89
 
90
90
  def new_note(note)
91
91
  # trigger transition to user_review state if note is added to ready or in_process order
92
- alter! if !user_review? && note.user != user
92
+ alter! if in_process? && note.user != user
93
93
  end
94
94
  end
95
95
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trollied
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Walter McGinnis