forked from fixin.me/fixin.me
Add user status update
This commit is contained in:
@@ -32,6 +32,7 @@ module FixinMe
|
||||
# config.eager_load_paths << Rails.root.join("extras")
|
||||
|
||||
config.action_dispatch.rescue_responses['ApplicationController::AccessForbidden'] = :forbidden
|
||||
config.action_dispatch.rescue_responses['ArgumentError'] = :bad_request
|
||||
|
||||
# SETUP: Below settings need to be updated on a per-installation basis.
|
||||
#
|
||||
|
||||
@@ -2,7 +2,7 @@ Rails.application.routes.draw do
|
||||
devise_for :users, path: '', path_names: {registration: 'profile'},
|
||||
controllers: {registrations: :registrations}
|
||||
|
||||
resources :users, only: [:index, :show] do
|
||||
resources :users, only: [:index, :show, :update] do
|
||||
member do
|
||||
post :disguise
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user