[#423] Removed explicit render in WikiController#show
* Allows for format extensions in plugins w/o giving a double-render error * Updated Wiki#show template to specify 'wiki/sidebar' explicitly (vs. just 'sidebar')
This commit is contained in:
parent
762cc04b70
commit
ce8bb652c6
|
@ -82,7 +82,6 @@ class WikiController < ApplicationController
|
|||
end
|
||||
end
|
||||
@editable = editable?
|
||||
render :action => 'show'
|
||||
end
|
||||
|
||||
# edit an existing page or a new one
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
<% end %>
|
||||
|
||||
<% content_for :sidebar do %>
|
||||
<%= render :partial => 'sidebar' %>
|
||||
<%= render :partial => 'wiki/sidebar' %>
|
||||
<% end %>
|
||||
|
||||
<% html_title @page.pretty_title %>
|
||||
|
|
Loading…
Reference in New Issue