8 lines
262 B
Plaintext
8 lines
262 B
Plaintext
|
- if params[:replace]
|
||
|
:plain
|
||
|
ProjectsList.replace(#{@projects.count}, "#{escape_javascript(render(:partial => 'projects/tile'))}");
|
||
|
- else
|
||
|
:plain
|
||
|
ProjectsList.append(#{@projects.count}, "#{escape_javascript(render(:partial => 'projects/tile'))}");
|
||
|
|