Skip to content

Commit

Permalink
🐛 Mixin HykuKnapsack::ApplicationHelper
Browse files Browse the repository at this point in the history
This commit will mixin the `HykuKnapsack::ApplicationHelper` into the
ApplicationHelper which will allow us to use #render_ocr_snippets for
snippet highlighting.
  • Loading branch information
kirkkwang committed Oct 7, 2023
1 parent 80e02d3 commit ae093f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

class ApplicationController < ActionController::Base
include HykuHelper
include HykuKnapsack::ApplicationHelper
# Prevent CSRF attacks by raising an exception.
# For APIs, you may want to use :null_session instead.
protect_from_forgery with: :exception, prepend: true
Expand Down

0 comments on commit ae093f1

Please sign in to comment.