Run rubocop on all files
This commit is contained in:
@@ -2,7 +2,6 @@ module Admin
|
||||
module Views
|
||||
module Posts
|
||||
class Index < Admin::View
|
||||
|
||||
include Deps["repos.post_repo"]
|
||||
|
||||
expose :published_posts do |posts|
|
||||
@@ -14,9 +13,9 @@ module Admin
|
||||
end
|
||||
|
||||
expose :posts do
|
||||
post_repo.list.partition{|p| p.published_at }
|
||||
post_repo.list.partition { |p| p.published_at }
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user