Show a popup listing available editors when hovering over the edit tab
This commit is contained in:
parent
6c3b5aa9d4
commit
04a6c41be9
8 changed files with 154 additions and 15 deletions
|
@ -32,7 +32,7 @@ class SiteController < ApplicationController
|
|||
end
|
||||
|
||||
def edit
|
||||
editor = @user.preferred_editor || DEFAULT_EDITOR
|
||||
editor = params[:editor] || @user.preferred_editor || DEFAULT_EDITOR
|
||||
|
||||
if editor == "josm"
|
||||
render :action => :index
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue