class CareersController < ApplicationController before_filter :require_login, :except => [:introduction] def new render_react end def new_contents render_react end def edit_introduction render_react end def edit_contents render_react end def introduction render_react end def contents render_react end private def render_react render file: 'public/react/build/index.html', :layout => false end end