Hi, I followed #2 Issue renaming folder /redmine-cas-plugin/app/views/settings/ to /redmine-cas-plugin/app/views/settings-cas/
and then changing code at line 30 of lib/redmine_cas.rb:
settings :default => {
:enabled => false,
:cas_base_url => 'https://localhost',
:login_without_cas => false,
:auto_create_users => false,
:auto_update_attributes_on_login => false,
:cas_logout => true
}, :partial => 'settings-cas/settings'
but when I click "Configure..." in Administration -> Plugins -> CAS Plugin, it throws the following error:
(Redmine's log):
ActionView::Template::Error (Missing partial settings-cas/settings with {:handlers=>[:rjs, :rsb, :builder, :erb], :locale=>[:es, :en], :formats=>[:html]}. Searched in:
- "C:/Archivos de programa/BitNami Redmine Stack/apps/redmine/htdocs/app/views"
):
3:
4: <%= form_tag({:action => 'plugin'}) do %>
5:
6: <%= render :partial =>
@partial, :locals => {:settings => @settings}%>
7:
8: <%= submit_tag l(:button_apply) %>
9: <% end %>
app/views/settings/plugin.html.erb:6:in
_app_views_settings_plugin_html_erb___109367577_53326092' app/views/settings/plugin.html.erb:4:in_app_views_settings_plugin_html_erb___109367577_53326092'
I will appreciate any help!!
Thanks
Hi, I followed #2 Issue renaming folder /redmine-cas-plugin/app/views/settings/ to /redmine-cas-plugin/app/views/settings-cas/
and then changing code at line 30 of lib/redmine_cas.rb:
settings :default => {
:enabled => false,
:cas_base_url => 'https://localhost',
:login_without_cas => false,
:auto_create_users => false,
:auto_update_attributes_on_login => false,
:cas_logout => true
}, :partial => 'settings-cas/settings'
but when I click "Configure..." in Administration -> Plugins -> CAS Plugin, it throws the following error:
(Redmine's log):
ActionView::Template::Error (Missing partial settings-cas/settings with {:handlers=>[:rjs, :rsb, :builder, :erb], :locale=>[:es, :en], :formats=>[:html]}. Searched in:
):
3:
4: <%= form_tag({:action => 'plugin'}) do %>
5:
6: <%= render :partial => @partial, :locals => {:settings => @settings}%>
7:
8: <%= submit_tag l(:button_apply) %>
9: <% end %>
app/views/settings/plugin.html.erb:6:in
_app_views_settings_plugin_html_erb___109367577_53326092' app/views/settings/plugin.html.erb:4:in_app_views_settings_plugin_html_erb___109367577_53326092'I will appreciate any help!!
Thanks