You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After setup the gem into AppController i've tried to place some static pages in the land page using high_voltage but always shows the unauthorized error.
is there any workaround on this?
Started GET "/pages/about" for 127.0.0.1 at 2018-05-29 15:29:51 -0300
Processing by HighVoltage::PagesController#show as HTML
Parameters: {"id"=>"about"}
Completed 401 Unauthorized in 4ms (ActiveRecord: 0.0ms)
Started GET "/users/login" for 127.0.0.1 at 2018-05-29 15:29:51 -0300
Processing by Devise::SessionsController#new as HTML
class ApplicationController < ActionController::Base
acts_as_token_authentication_handler_for User, fallback_to_devise: false
before_action :authenticate_user!, except: [:pages_controller]
def pages_controller
HighVoltage::PagesController
end
end
The text was updated successfully, but these errors were encountered:
After setup the gem into AppController i've tried to place some static pages in the land page using high_voltage but always shows the unauthorized error.
is there any workaround on this?
The text was updated successfully, but these errors were encountered: