Rename Wallet to Lightning Network, move to Services
This commit is contained in:
@@ -2,6 +2,6 @@ class DashboardController < ApplicationController
|
||||
before_action :require_user_signed_in
|
||||
|
||||
def index
|
||||
@current_section = :dashboard
|
||||
@current_section = :services
|
||||
end
|
||||
end
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
require "rqrcode"
|
||||
|
||||
class WalletController < ApplicationController
|
||||
class Services::LightningController < ApplicationController
|
||||
before_action :require_user_signed_in
|
||||
before_action :authenticate_with_lndhub
|
||||
before_action :set_current_section
|
||||
@@ -42,7 +42,7 @@ class WalletController < ApplicationController
|
||||
end
|
||||
|
||||
def set_current_section
|
||||
@current_section = :wallet
|
||||
@current_section = :services
|
||||
end
|
||||
|
||||
def fetch_balance
|
||||
Reference in New Issue
Block a user