5
3
mirror of https://github.com/tildeverse/lobsters synced 2024-06-14 04:56:39 +00:00

home: find_user_from_rss_token for saved, too

This commit is contained in:
joshua stein 2017-07-13 16:32:19 -05:00
parent 53aac5f807
commit 359e63a0ed

View File

@ -1,6 +1,6 @@
class HomeController < ApplicationController
# for rss feeds, load the user's tag filters if a token is passed
before_action :find_user_from_rss_token, :only => [ :index, :newest ]
before_action :find_user_from_rss_token, :only => [ :index, :newest, :saved ]
before_action { @page = page }
before_action :require_logged_in_user, :only => [ :upvoted ]