Files
mozo-backend/app/controllers/application_controller.rb
T
2012-08-22 18:15:37 +02:00

11 lines
178 B
Ruby

class ApplicationController < ActionController::Base
protect_from_forgery
private
def active_list
List.find(session[:list_id])
end
helper_method :active_list
end