Philip Arndt

Results 161 comments of Philip Arndt

@simbaja that workaround works well for me for setting/reading current temperature as I have the same issue with ULV316452 ```py @property def temperature_unit(self): # measurement_system = self.appliance.get_erd_value(ErdCode.TEMPERATURE_UNIT) # if measurement_system...

``` ruby # in your controller before_action :authenticate_refinery_user! ```

https://github.com/refinery/refinerycms/blob/master/core/lib/refinery/admin/base_controller.rb#L12-L14

You need to include the BaseController module inside your controller to use its functionality.

> If I try with below code in application controller: > > class ApplicationController < ActionController::Base > # Prevent CSRF attacks by raising an exception. > # For APIs, you...

it seems like it's failing at the engine permissions level: https://github.com/refinery/refinerycms/blob/e49a6bebefe34bedcca932887f1446f084a23c33/core/lib/refinery/admin/base_controller.rb#L55-L60 https://github.com/refinery/refinerycms/blob/e49a6bebefe34bedcca932887f1446f084a23c33/core/lib/refinery/admin/base_controller.rb#L64-L66 https://github.com/refinery/refinerycms-authentication-devise/blob/125ec0a3249931c68b7812abd1ed44410b5cb02b/lib/refinery/authentication/devise/authorisation_adapter.rb#L18-L31 so we can see in the last link that for this particular message, it's because your user...

Are there any special installation steps for the plugin @evenreven ? I can try this later on if I get a chance!

However... it seems like you just need to set a `menu_match` property that is a regular expression that matches the URL you're accessing. Here's the one for pages: https://github.com/refinery/refinerycms/blob/6e60d27edc85c60f80baf302e40be69074872e82/pages/lib/refinery/pages/engine.rb#L15 ```ruby...

It's maintained but not as frequently as it used to be, will work on a gem release to support Rails 6. Also, I didn't see this issue before today sorry