diff --git a/Gemfile.lock b/Gemfile.lock index d78d3ae..0364b0d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -47,6 +47,7 @@ GEM net-sftp (>= 2.0.0) net-ssh (>= 2.0.14) net-ssh-gateway (>= 1.1.0) + client_side_validations (3.0.12) coffee-rails (3.2.2) coffee-script (>= 2.2.0) railties (~> 3.2.0) @@ -152,6 +153,7 @@ PLATFORMS DEPENDENCIES capistrano (= 2.9.0) + client_side_validations (~> 3.0.0) coffee-rails (~> 3.2.1) devise! dragonfly (~> 0.9.10) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 5163677..ede35c3 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,6 +1,6 @@ class ApplicationController < ActionController::Base protect_from_forgery - + rescue_from Exception, :with => :handle_exceptions before_filter :authenticate_user!, :except => [:show,:index] def handle_exceptions(e)