File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 25
25
< img id ="logo " src ="./icon/goby-logo.svg " alt ="Goby Lang Logo ">
26
26
</ a >
27
27
< a target ="_blank " href ="https://twitter.com/goby_lang "> < span > Twitter</ span > </ a >
28
- < a target ="_blank " href ="https://goby-lang-slackin.herokuapp .com/ "> < span > Slack </ span > </ a >
28
+ < a target ="_blank " href ="https://www.producthunt .com/posts/goby-language "> < span > ProductHunt </ span > </ a >
29
29
</ div >
30
30
31
31
< div id ="mobile-nav " class ="nav-wrapper ">
36
36
< a target ="_blank " href ="https://github.com/goby-lang/goby "> < span > GitHub</ span > </ a >
37
37
< a target ="_blank " href ="https://goby-lang.gitbooks.io/goby/content/ "> < span > GitBook</ span > </ a >
38
38
< a target ="_blank " href ="https://twitter.com/goby_lang "> < span > Twitter</ span > </ a >
39
- < a target ="_blank " href ="https://goby-lang-slackin.herokuapp .com/ "> < span > Slack </ span > </ a >
39
+ < a target ="_blank " href ="https://www.producthunt .com/posts/goby-language "> < span > ProductHunt </ span > </ a >
40
40
</ div >
41
41
</ div >
42
42
</ nav >
Original file line number Diff line number Diff line change @@ -56,6 +56,8 @@ server.put('/items/{id:[0-9]+}') do |req, res|
56
56
57
57
if params.nil? || params[:title].nil?
58
58
res.status = 400
59
+ elsif params[:title].length > 40
60
+ res.status = 400
59
61
else
60
62
record = ListItem.find(req.params[:id])
61
63
if record
You can’t perform that action at this time.
0 commit comments