Skip to content
Permalink
Browse files

Add base controller

  • Loading branch information
ImsirovicAjdin committed Dec 17, 2019
1 parent e5330d6 commit 6889c59b98ccf503fe49c8929e6e0f3c8b19004a
@@ -0,0 +1,3 @@
// Place all the styles related to the base controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: https://sass-lang.com/
@@ -0,0 +1,3 @@
class BaseController < ApplicationController
before_action :authenticate_user!
end
@@ -0,0 +1,2 @@
module BaseHelper
end
@@ -0,0 +1,7 @@
require 'test_helper'

class BaseControllerTest < ActionDispatch::IntegrationTest
# test "the truth" do
# assert true
# end
end

0 comments on commit 6889c59

Please sign in to comment.
You can’t perform that action at this time.