WebEditor: base form
This commit is contained in:
parent
837972650c
commit
f6a8e69449
4 changed files with 20 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue