lib/views/content/search.haml in redis_monitor-0.0.6 vs lib/views/content/search.haml in redis_monitor-0.1

- old
+ new

@@ -5,21 +5,21 @@ %tr %th Key %th Value - - if authorized_for?(:remove_content) + - if RedisMonitor::Authorization.authorized_for?(:remove_content) %th Actions %tbody - results.each do |result| %tr %td = result[:key] %td = result[:value] - - if authorized_for?(:remove_content) + - if RedisMonitor::Authorization.authorized_for?(:remove_content) %td %form{action: '/content/delete', method: 'post'} %input{type: 'hidden', name: 'key', value: result[:key]} %button.btn.btn-danger Delete \ No newline at end of file