mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-24 03:00:12 +01:00
small cleanups
This commit is contained in:
parent
97f9a31d17
commit
b8fd942eb4
4 changed files with 534 additions and 538 deletions
|
|
@ -175,7 +175,7 @@ class ProjectsController < ApplicationController
|
|||
|
||||
def order
|
||||
project_ids = params["list-active-projects"] || params["list-hidden-projects"] || params["list-completed-projects"]
|
||||
projects = current_user.projects.update_positions( project_ids )
|
||||
@projects = current_user.projects.update_positions( project_ids )
|
||||
render :nothing => true
|
||||
rescue
|
||||
notify :error, $!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue