8aeae9c45d
• Updated: - routes for admins dashboard (expenses, group categories, promotions, trending hashtags) that were in the /settings path but are now in the /admin path - /filters to be in /settings/filters • Removed: - authorize_follow route
12 lines
258 B
Ruby
12 lines
258 B
Ruby
class Admin::ExpensesController < Admin::BaseController
|
|
def index
|
|
@amount = Redis.current.get("monthly_funding_amount") || 0
|
|
end
|
|
|
|
def create
|
|
Redis.current.set("monthly_funding_amount", params[:amount])
|
|
redirect_to admin_expenses_path
|
|
end
|
|
|
|
end
|