forked from Trustie/forgeplus
Merge pull request 'sca before action' (#411) from KingChan/forgeplus:sca_service into dev_osredm_server
This commit is contained in:
commit
10fda9b1fc
|
|
@ -1,6 +1,7 @@
|
|||
class Api::V1::Projects::ScaController < Api::V1::BaseController
|
||||
before_action :require_public_and_member_above, only: [:index, :show]
|
||||
def index
|
||||
before_action :require_public_and_member_above
|
||||
before_action :load_project
|
||||
def index
|
||||
@result = Api::V1::Projects::Sca::ShowProjectService.call(@project)
|
||||
end
|
||||
def create
|
||||
|
|
|
|||
Loading…
Reference in New Issue