Skip to content

Commit

Permalink
Update talk_controller.rb (#11525)
Browse files Browse the repository at this point in the history
  • Loading branch information
Teslimsama committed Oct 21, 2022
1 parent 83e0439 commit 3496818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/talk_controller.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
class TalkController < ApplicationController
def show
@node = Node.find_by_path params[:id]
@node = Node.find_by_path 'wiki/' + params[:id] if @node.nil?
@node = Node.find_by_path "wiki/#{params[:id]}" if @node.nil?
end
end

0 comments on commit 3496818

Please sign in to comment.