demo procedure page

This commit is contained in:
Xavier J 2015-11-17 18:30:28 +01:00
parent 9f34d20475
commit 9826a294d4
3 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,7 @@
class DemoController < ApplicationController
def index
end
end

View 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

View file

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