informativo basico

This commit is contained in:
lontra
2019-05-29 21:06:15 +03:00
parent 102301019b
commit 7eb4842141
16 changed files with 68 additions and 82 deletions

View File

@@ -1,6 +1,7 @@
require_relative 'boot'
require 'rails/all'
require "awesome_print"
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
@@ -11,6 +12,10 @@ module Ambienteja
# Initialize configuration defaults for originally generated Rails version.
config.load_defaults 5.2
config.generators do |g|
g.template_engine :haml
end
# Settings in config/environments/* take precedence over those specified here.
# Application configuration can go into files in config/initializers
# -- all .rb files in that directory are automatically loaded after loading

View File

@@ -2,4 +2,9 @@ Rails.application.routes.draw do
devise_for :admin_users, ActiveAdmin::Devise.config
ActiveAdmin.routes(self)
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
root to: "page#home"
get '/informativo/:id', to: 'page#informativo'
end