Add ace editor to snippets

This commit is contained in:
Dmitriy Zaporozhets 2012-12-12 19:42:08 +02:00
parent 273c0d2aa3
commit bca7bddd3d
5 changed files with 49 additions and 27 deletions

View file

@ -1,6 +1,6 @@
= render "projects/project_head"
%h3
%h3.page_title
= @snippet.title
%small= @snippet.file_name
- if can?(current_user, :admin_snippet, @project) || @snippet.author == current_user