File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ def rank_badge(user)
23
23
curator_icon = fa_icon 'hands-helping' , text : ' Curator'
24
24
25
25
id = user
26
- user = User . find ( user . to_i ) if id . instance_of? String
26
+ user = User . find ( user . to_i ) if id . class == String || id . class == Integer
27
27
return if user . nil?
28
28
29
29
if user . deactivated?
Original file line number Diff line number Diff line change 1
1
<!DOCTYPE html>
2
2
< html >
3
3
< head >
4
- < title > The page you were looking for doesn't exist (404)</ title >
4
+ < title > The page you are looking for doesn't exist (404)</ title >
5
5
< meta name ="viewport " content ="width=device-width,initial-scale=1 ">
6
6
< style >
7
7
.rails-default-error-page {
58
58
<!-- This file lives in public/404.html -->
59
59
< img src ="404.png " alt ="">
60
60
< h1 > Uh-Oh!</ h1 >
61
- < h2 > It's looks like you're lost...</ h2 >
61
+ < h2 > It looks like you're lost...</ h2 >
62
62
< div class ="back-home ">
63
63
< a href ="/ " class ="btn "> Back Home</ a >
64
64
</ div >
You can’t perform that action at this time.
0 commit comments