mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-15 05:38:52 +01:00
Style fixes after Superfish update in !3125. Allow access to the todo create call also with token.
This commit is contained in:
parent
d895d218c9
commit
c0a528eb10
2 changed files with 24 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
class TodosController < ApplicationController
|
||||
skip_before_action :login_required, :only => [:index, :tag, :list_deferred, :show, :list_hidden, :done]
|
||||
prepend_before_action :login_or_feed_token_required, :only => [:index, :tag, :list_deferred, :show, :list_hidden, :done]
|
||||
skip_before_action :login_required, :only => [:index, :create, :tag, :list_deferred, :show, :list_hidden, :done]
|
||||
prepend_before_action :login_or_feed_token_required, :only => [:index, :create, :tag, :list_deferred, :show, :list_hidden, :done]
|
||||
append_before_action :find_and_activate_ready, :only => [:index, :list_deferred]
|
||||
|
||||
protect_from_forgery :except => :check_deferred
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue