11 lines
178 B
Ruby
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
|