Skip to content

Commit 29098af

Browse files
authored
Merge pull request #113 from tvdeyen/require-version
Require alchemy/version in controllers using ssl_required
2 parents 438df97 + 34ab84a commit 29098af

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ matrix:
1818
fast_finish: true
1919
allow_failures:
2020
- env: ALCHEMY_BRANCH=main
21+
before_script: nvm use 12
2122
script: bundle exec rake

app/controllers/alchemy/admin/passwords_controller.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# frozen_string_literal: true
2+
3+
require "alchemy/version"
4+
15
module Alchemy
26
module Admin
37
class PasswordsController < ::Devise::PasswordsController

app/controllers/alchemy/admin/user_sessions_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
require_dependency "alchemy/version"
3+
require "alchemy/version"
44

55
module Alchemy
66
module Admin

0 commit comments

Comments
 (0)