1 2 3 4 5 6
- if @error :plain $(".projects").html("#{@error}"); - else :plain $(".projects").html("#{escape_javascript(render("gitlab"))}");