Refactor project creation. Added logout link to profile page
This commit is contained in:
parent
c7c1a97c2f
commit
232d61d598
19 changed files with 126 additions and 116 deletions
|
@ -2,11 +2,9 @@
|
|||
:plain
|
||||
location.href = "#{project_path(@project)}";
|
||||
- else
|
||||
- if @project.git_error?
|
||||
location.href = "#{errors_githost_path}";
|
||||
-else
|
||||
:plain
|
||||
$('.project_new_holder').show();
|
||||
$("#new_project").replaceWith("#{escape_javascript(render('new_form'))}");
|
||||
$('.save-project-loader').hide();
|
||||
new Projects();
|
||||
$('select.chosen').chosen()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue