Use double quotes in controllers/
This commit is contained in:
@@ -7,8 +7,8 @@ class CommunitiesController < ApplicationController
|
||||
skip_authorization_check
|
||||
|
||||
def show
|
||||
raise ActionController::RoutingError, 'Not Found' unless communitable_exists?
|
||||
redirect_to root_path if Setting['feature.community'].blank?
|
||||
raise ActionController::RoutingError, "Not Found" unless communitable_exists?
|
||||
redirect_to root_path if Setting["feature.community"].blank?
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in New Issue
Block a user