basic pages

This commit is contained in:
2022-03-30 15:36:11 +03:00
parent 5de9bc5690
commit 7881acc2ff
7 changed files with 26 additions and 5 deletions

View File

@ -30,10 +30,8 @@ set :user, 'feenix' # Username in the server to SSH to.
task :remote_environment do
# If you're using rbenv, use this to load the rbenv environment.
# Be sure to commit your .ruby-version or .rbenv-version to your repository.
# invoke :'rbenv:load'
invoke :'rbenv:load'
# For those using RVM, use this to load an RVM version@gemset.
# invoke :'rvm:use', 'ruby-2.5.3@default'
end
# Put any custom commands you need to run at setup

View File

@ -0,0 +1,5 @@
# config/initializers/high_voltage.rb
HighVoltage.configure do |config|
config.route_drawer = HighVoltage::RouteDrawers::Root
config.home_page = 'index'
end

View File

@ -1,6 +1,5 @@
Rails.application.routes.draw do
# Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html
# Defines the root path route ("/")
# root "articles#index"
root to: 'high_voltage/pages#show', id: 'index'
end