diff --git a/app/controllers/talk_controller.rb b/app/controllers/talk_controller.rb index bcbc331b5f..8ecdbbbbb2 100644 --- a/app/controllers/talk_controller.rb +++ b/app/controllers/talk_controller.rb @@ -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