diff --git a/app/controllers/dashboard_controller.rb b/app/controllers/dashboard_controller.rb old mode 100755 new mode 100644 index 8b351bf..cfa0921 --- a/app/controllers/dashboard_controller.rb +++ b/app/controllers/dashboard_controller.rb @@ -22,5 +22,8 @@ class DashboardController < ApplicationController @user = current_user render :partial => "layouts/dashboard/dashboard_stats" end - + + def doc + render "../../doc/" + params[:doc] + end end diff --git a/app/views/dashboard/home.html.erb b/app/views/dashboard/home.html.erb old mode 100755 new mode 100644 index 5b0811a..cee5c39 --- a/app/views/dashboard/home.html.erb +++ b/app/views/dashboard/home.html.erb @@ -27,13 +27,15 @@ - +