Merge branch 'fix-bug-least-important-homie-not-visible' into 'master'
show all homies on home screen See merge request saburly/gangsta/roraccounting!17
This commit was merged in pull request #17.
This commit is contained in:
@@ -22,7 +22,7 @@ class HomiesController < ApplicationController
|
|||||||
end
|
end
|
||||||
|
|
||||||
def cash
|
def cash
|
||||||
importance = params[:importance].to_i
|
importance = params[:importance].present? ? params[:importance].to_i : -1
|
||||||
json_response(Homie.cash(importance))
|
json_response(Homie.cash(importance))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user