Add ace editor to snippets
This commit is contained in:
parent
273c0d2aa3
commit
bca7bddd3d
5 changed files with 49 additions and 27 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue