forked from saurabh/orbit4-5
fixed attributes fields
This commit is contained in:
parent
619fef44f5
commit
ff81470c41
|
@ -430,7 +430,7 @@ protected
|
|||
get_basic_field_name_base + "[value]"
|
||||
end
|
||||
|
||||
def label
|
||||
def form_label
|
||||
label_tag(key,title,:class=>"control-label muted",:func => "field_label")
|
||||
end
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ class I18nVariable
|
|||
end
|
||||
|
||||
def self.from_locale(locale)
|
||||
I18nVariable.find_by(:key => locale)[I18n.locale]
|
||||
I18nVariable.find_by(key: locale)[I18n.locale]
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
@ -39,8 +39,6 @@ Orbit::Application.routes.draw do
|
|||
locales = Site.first.in_use_locales rescue I18n.available_locales
|
||||
|
||||
scope "(:locale)", locale: Regexp.new(locales.join("|")) do
|
||||
|
||||
resources :member_profiles
|
||||
|
||||
resources :users do
|
||||
collection do
|
||||
|
|
Loading…
Reference in New Issue