Main Avalanche Network server application. Built with Ruby on Rails.

start_controller.rb 432B

    class StartController < ApplicationController layout 'application' def index @blog_posts = BlogPost.order('created_at DESC').take(4) @subscription = Subscription.new @analytics.track('Home page view') end def landing_page @blog_posts = BlogPost.order('created_at DESC').take(4) @subscription = Subscription.new @analytics.track('Home page view') render layout: "landing_page" end end