mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-26 09:04:07 +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
|
|
@ -1388,3 +1388,25 @@ ul.todo-submenu > li > a {
|
||||||
.recurring_todos .ui-dialog .ui-dialog-title {
|
.recurring_todos .ui-dialog .ui-dialog-title {
|
||||||
float: inherit;
|
float: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sf-menu {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sf-menu a {
|
||||||
|
padding-top: 0 !important;
|
||||||
|
padding-bottom: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sf-menu li {
|
||||||
|
background: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sf-menu ul.todo-submenu {
|
||||||
|
background: white;
|
||||||
|
padding: 0.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sf-menu ul.todo-submenu li > a {
|
||||||
|
padding-left: 24px;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
class TodosController < ApplicationController
|
class TodosController < ApplicationController
|
||||||
skip_before_action :login_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, :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]
|
append_before_action :find_and_activate_ready, :only => [:index, :list_deferred]
|
||||||
|
|
||||||
protect_from_forgery :except => :check_deferred
|
protect_from_forgery :except => :check_deferred
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue