basic pages
This commit is contained in:
@ -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
|
||||
|
5
config/initializers/high_voltage.rb
Normal file
5
config/initializers/high_voltage.rb
Normal 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
|
@ -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
|
||||
|
Reference in New Issue
Block a user