0
0
Fork 0

Adding e-mail confirmations

This commit is contained in:
Eugen Rochko 2016-10-03 16:38:22 +02:00
parent b3c7c8700d
commit fc198a8b4c
15 changed files with 72 additions and 36 deletions

View file

@ -10,7 +10,7 @@ class ApplicationController < ActionController::Base
rescue_from ActionController::RoutingError, with: :not_found
rescue_from ActiveRecord::RecordNotFound, with: :not_found
before_filter :store_current_location, :unless => :devise_controller?
before_action :store_current_location, :unless => :devise_controller?
def raise_not_found
raise ActionController::RoutingError, "No route matches #{params[:unmatched_route]}"