add empty profile page
This commit is contained in:
parent
05298f7a40
commit
9040d9407d
3 changed files with 7 additions and 1 deletions
5
app/controllers/admin/profile_controller.rb
Normal file
5
app/controllers/admin/profile_controller.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class Admin::ProfileController < ApplicationController
|
||||
def show
|
||||
|
||||
end
|
||||
end
|
1
app/views/admin/profile/show.html.haml
Normal file
1
app/views/admin/profile/show.html.haml
Normal file
|
@ -0,0 +1 @@
|
|||
#profile_page
|
|
@ -46,7 +46,7 @@ Rails.application.routes.draw do
|
|||
namespace :admin do
|
||||
get 'sign_in' => '/administrateurs/sessions#new'
|
||||
get 'procedures/archived' => 'procedures#archived'
|
||||
|
||||
get 'profile' => 'profile#show', as: :profile
|
||||
resources :procedures do
|
||||
resource :types_de_champ, only: [:show, :update] do
|
||||
post '/:index/move_up' => 'types_de_champ#move_up', as: :move_up
|
||||
|
|
Loading…
Reference in a new issue