demo procedure page
This commit is contained in:
parent
9f34d20475
commit
9826a294d4
3 changed files with 24 additions and 0 deletions
7
app/controllers/demo_controller.rb
Normal file
7
app/controllers/demo_controller.rb
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
class DemoController < ApplicationController
|
||||||
|
|
||||||
|
def index
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
end
|
15
app/views/demo/index.html.haml
Normal file
15
app/views/demo/index.html.haml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
%table.table
|
||||||
|
%tr
|
||||||
|
%th{colspan: 3}
|
||||||
|
%h4 Lien vers les procédures TPS
|
||||||
|
%tr
|
||||||
|
%td
|
||||||
|
%th Titre
|
||||||
|
%th Description
|
||||||
|
- Procedure.all.each do |procedure|
|
||||||
|
%tr
|
||||||
|
%td.col-md-1.col-lg-1
|
||||||
|
%td.col-md-4.col-lg-4
|
||||||
|
= link_to procedure.libelle, "/users/siret?procedure_id=#{procedure.id}"
|
||||||
|
%td
|
||||||
|
= procedure.description
|
|
@ -17,6 +17,8 @@ Rails.application.routes.draw do
|
||||||
get 'france_connect' => 'france_connect#login'
|
get 'france_connect' => 'france_connect#login'
|
||||||
get 'france_connect/callback' => 'france_connect#callback'
|
get 'france_connect/callback' => 'france_connect#callback'
|
||||||
|
|
||||||
|
get 'demo' => 'demo#index'
|
||||||
|
|
||||||
namespace :users do
|
namespace :users do
|
||||||
get 'siret' => 'siret#index'
|
get 'siret' => 'siret#index'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue