WebEditor: base form

This commit is contained in:
Valeriy Sizov 2012-10-08 18:43:54 +03:00
parent 837972650c
commit f6a8e69449
4 changed files with 20 additions and 1 deletions

View file

@ -19,4 +19,12 @@ class TreeController < ProjectResourceController
format.js { no_cache_headers }
end
end
def edit
@last_commit = @project.commits(@ref, @path, 1).first.sha
end
def update
last_commit = @project.commits(@ref, @path, 1).first.sha
end
end