From f65978e8c27262a944a84c1287657af62cdd9f7d Mon Sep 17 00:00:00 2001 From: Rania Abdel Fattah Date: Sun, 11 May 2014 23:24:43 +0200 Subject: [PATCH] Issue #470, profile progress view with modifi --- .../app/controllers/application_controller.rb | 2 +- tutor/app/views/students/_show.html.erb | 80 ++++++++++++++++-- tutor/db/development.sqlite3 | Bin 282624 -> 282624 bytes 3 files changed, 74 insertions(+), 8 deletions(-) diff --git a/tutor/app/controllers/application_controller.rb b/tutor/app/controllers/application_controller.rb index 897c93b6..e023ef09 100644 --- a/tutor/app/controllers/application_controller.rb +++ b/tutor/app/controllers/application_controller.rb @@ -7,7 +7,7 @@ class ApplicationController < ActionController::Base before_action :update_sanitized_params, if: :devise_controller? before_action :check_resource, if: :devise_controller? - rescue_from Exception, :with => :render_not_found + private diff --git a/tutor/app/views/students/_show.html.erb b/tutor/app/views/students/_show.html.erb index dc6f9fe9..11b3e953 100644 --- a/tutor/app/views/students/_show.html.erb +++ b/tutor/app/views/students/_show.html.erb @@ -1,20 +1,21 @@ <%= render 'layouts/profile' %>
  • Info
  • -