diff --git a/app/controllers/tools_controller.rb b/app/controllers/tools_controller.rb index 7a67356..041de6f 100644 --- a/app/controllers/tools_controller.rb +++ b/app/controllers/tools_controller.rb @@ -4,6 +4,7 @@ def index end def show + params[:slug] ||= params[:id] @tool = Tool.presenter_from tool_params.compact_blank end