* Add /profile, /profile.json endpoints. * Make "My Account" link to /profile. * Add 'User ID' field to profile page.
17 lines
320 B
Ruby
17 lines
320 B
Ruby
module Maintenance
|
|
module User
|
|
class CountFixesController < ApplicationController
|
|
before_action :member_only
|
|
|
|
def new
|
|
end
|
|
|
|
def create
|
|
CurrentUser.user.refresh_counts!
|
|
flash[:notice] = "Counts have been refreshed"
|
|
redirect_to profile_path
|
|
end
|
|
end
|
|
end
|
|
end
|