ish_manager 0.1.8.41 → 0.1.8.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8c1b2656f67b787bf4817761c4afed2736b4c303
4
- data.tar.gz: 2ae70c37ae4fda5a3db323079c3be20ab1801759
3
+ metadata.gz: a350506427ad1556afd9ae83fc49a125efec5e37
4
+ data.tar.gz: aceb59d07836f4036aa91f3f8aca58ddae163d2b
5
5
  SHA512:
6
- metadata.gz: 33b8fff32642ebfeaaaff7e13fffa34f7f3cc99754d0f067d631c1c7396c714d097284380a7f1596b5bb88b31d779f71b02d0960c118ca048795f658dfe325e6
7
- data.tar.gz: 3e0370a0ca49a1c508323e06674c6c0b3dac382faab175a077355830aa3f22835d07752db809b271b366d3378dc60f7c2398b1d548de09787a291cedc975b316
6
+ metadata.gz: 2ba3a79d9e306c21a9b608f374898322a8bf1ad12e77a90101f73456d23df83a347cd969f9edc1d6d12693ad9e4af472caf104be50302db86edc9000e253ca05
7
+ data.tar.gz: 26afd79692193f05a365e907f5da4a80497b84c35d64a59dfaeb13b0935f9f82bd6e7399e59ab11d2ad75f4544003a842cc2f53457198f1ddea96f153fb81d5b
@@ -17,8 +17,6 @@ class IshManager::VideosController < IshManager::ApplicationController
17
17
  @videos = @videos.where( :tag => tag )
18
18
  end
19
19
 
20
- @videos = @videos.page( params[:videos_page] ).per( Video::PER_PAGE )
21
-
22
20
  respond_to do |format|
23
21
  format.html do
24
22
  render
@@ -21,7 +21,7 @@
21
21
  %ul
22
22
  %li
23
23
  = link_to '[~]', edit_url.call( n )
24
- = link_to '[x]', delete_url.call( n ), :method => :delete, :data => { :confirm => 'Are you sure?' }
24
+ = button_to '[x]', delete_url.call( n ), :method => :delete, :data => { :confirm => 'Are you sure?' }
25
25
  Name: #{n.name}
26
26
  Desc: #{n.descr}
27
27
  %li Report id: #{n.report_id}
@@ -1,6 +1,10 @@
1
1
 
2
+ - videos = videos.page params[:videos_page]
2
3
  .row
3
4
  .col-sm-12
5
+ %h2
6
+ Videos (#{@videos.count})
7
+ = link_to '[+]', new_video_path
4
8
 
5
9
  = paginate videos, :param_name => :videos_page
6
10
  %ol
@@ -1,9 +1,3 @@
1
1
 
2
- .a
3
- .row
4
- .large-12.columns
5
- %h2
6
- Videos (#{@videos.count})
7
- = link_to '[+]', new_video_path
8
- = render 'index', :videos => @videos
2
+ = render 'index', :videos => @videos
9
3
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8.41
4
+ version: 0.1.8.43
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox