This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Gitlink
/
forgeplus
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
16
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
update
pull/343/head
chenjing
3 years ago
parent
fed604989f
commit
a04e0508d6
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/controllers/users/clas_controller.rb
+ 1
- 1
app/controllers/users/clas_controller.rb
View File
@@ -23,7 +23,7 @@ class Users::ClasController < Users::BaseController
end
def destroy
@user_cla = current_user.user_clas.find
_by(cla_id:
params[:
cla_
id]
)
@user_cla = current_user.user_clas.find params[:id]
@user_cla.update_attributes(state: 2)
render_ok
end
Write
Preview
Loading…
Cancel
Save