mirror of
https://github.com/beatriceo/polyglot.git
synced 2025-12-11 08:52:10 +00:00
Initial commit with devise template from https://github.com/lewagon/rails-templates
This commit is contained in:
4
app/controllers/application_controller.rb
Normal file
4
app/controllers/application_controller.rb
Normal file
@@ -0,0 +1,4 @@
|
||||
class ApplicationController < ActionController::Base
|
||||
protect_from_forgery with: :exception
|
||||
before_action :authenticate_user!
|
||||
end
|
||||
0
app/controllers/concerns/.keep
Normal file
0
app/controllers/concerns/.keep
Normal file
6
app/controllers/pages_controller.rb
Normal file
6
app/controllers/pages_controller.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
class PagesController < ApplicationController
|
||||
skip_before_action :authenticate_user!, only: [:home]
|
||||
|
||||
def home
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user