add empty profile page

This commit is contained in:
Tanguy PATTE 2015-12-14 17:25:35 +01:00
parent 05298f7a40
commit 9040d9407d
3 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,5 @@
class Admin::ProfileController < ApplicationController
def show
end
end

View file

@ -0,0 +1 @@
#profile_page

View file

@ -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