修改project的查询方式

This commit is contained in:
sylor_huang@126.com
2020-03-19 15:27:18 +08:00
parent 05f0550def
commit 71ad6083dd
5 changed files with 5 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
class ProjectTrendsController < ApplicationController
before_action :find_project
before_action :find_project_with_id
before_action :check_project_public
def index