incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [2/6] git commit: Fixed a bug where the cancel query button didn't display
Date Tue, 04 Jun 2013 13:33:01 GMT
Fixed a bug where the cancel query button didn't display

Signed-off-by: Aaron McCurry <amccurry@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/3d4e88a5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/3d4e88a5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/3d4e88a5

Branch: refs/heads/0.1.5
Commit: 3d4e88a591f68747346c1d3f20b596406458fa4a
Parents: 194eb7f
Author: Chris Rohr <crohr@nearinfinity.com>
Authored: Fri May 31 23:22:55 2013 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Tue Jun 4 09:29:29 2013 -0400

----------------------------------------------------------------------
 .../blur-admin/app/models/blur_query.rb            |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3d4e88a5/src/contrib/blur-console/blur-admin/app/models/blur_query.rb
----------------------------------------------------------------------
diff --git a/src/contrib/blur-console/blur-admin/app/models/blur_query.rb b/src/contrib/blur-console/blur-admin/app/models/blur_query.rb
index a042aae..101833a 100644
--- a/src/contrib/blur-console/blur-admin/app/models/blur_query.rb
+++ b/src/contrib/blur-console/blur-admin/app/models/blur_query.rb
@@ -39,7 +39,7 @@ class BlurQuery < ActiveRecord::Base
     summary_hash =
     {
       :id => id,
-      :can_update => user.can?(:update, :blur_queries),
+      :can_update => user.can?(:cancel, :blur_queries),
       :userid => print_value(userid),
       :query => print_value(query_string),
       :tablename => print_value(blur_table.table_name),


Mime
View raw message