ishapi 0.1.8.150 → 0.1.8.151

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
  SHA256:
3
- metadata.gz: 1cac4c0f45c0f2c4a9b38b41270275390f3edda7d70678b73d4f09f33451f00a
4
- data.tar.gz: 0c6aefe857915d2cb0732c180163d4b7191baba4258e84090ca4464634e23acd
3
+ metadata.gz: 48a60ea3b0572e7a03c6367c503ade90a23d0c9c668f7126328cf69fb6edd6f0
4
+ data.tar.gz: '059b472d0856d0984b540d92207035c0c7e5593a050ae0693d4e309351427f02'
5
5
  SHA512:
6
- metadata.gz: d23fede7459e5014c43b957f4bf8af5370d9d3eee4c208c19339fc9a66f597b96f6102f421af0f759da6cf131301820d2ad5f6576b0b8196af446cc15a9b223d
7
- data.tar.gz: 5747e61ae8fcbdd13e37435d074dd9b3362050e275727bc6f18d7a417a6e1dc452f2b2f970432a96441b35fbb12e1e3954469e4140c461a20ef34d3dfc956d08
6
+ metadata.gz: 9730c397b9c7468348771f3f25d26a20d3544ab22930ad58363f7b0b79ee1bc9a61b625e7d6c7f1a92c76e12eee9dc875f7b857fe597c9f839e179a29e982978
7
+ data.tar.gz: 53770e986e3fb7f2f84ff09ac672444961d8eeb79dbafc285fc1961017866a4ca6ef85732b805064b5fc70df61a93f5977a30eec1ab51f8e9135503a89190701
@@ -1,14 +1,11 @@
1
1
 
2
- module Ishapi
3
- module My
4
- class ReportsController < Ishapi::My::MyController
5
2
 
6
- def index
7
- authorize! :my_index, Report
8
- @reports = @profile.reports
9
- end
3
+ class Ishapi::My::ReportsController < Ishapi::ApplicationController
10
4
 
11
- end
5
+ def index
6
+ authorize! :my_index, Report
7
+ @reports = @profile.reports
12
8
  end
9
+
13
10
  end
14
11
 
@@ -1,14 +1,10 @@
1
1
 
2
- module Ishapi
3
- module My
4
- class VideosController < Ishapi::My::MyController
2
+ class Ishapi::My::VideosController < Ishapi::ApplicationController
5
3
 
6
- def index
7
- authorize! :my_index, Video
8
- @videos = @current_user.profile.videos.unscoped.where( is_trash: false ).order_by( created_at: :desc ).limit(20)
9
- end
10
-
11
- end
4
+ def index
5
+ authorize! :my_index, Video
6
+ @videos = @current_user.profile.videos.unscoped.where( is_trash: false ).order_by( created_at: :desc ).limit(20)
12
7
  end
8
+
13
9
  end
14
10
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ishapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8.150
4
+ version: 0.1.8.151
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox