%= content_for :caboose_js do %> <%= javascript_include_tag "caboose/station_modal" %> <% end %> <%= content_for :caboose_css do %> <%= stylesheet_link_tag "caboose/station_modal", :media => "all" %> <% end %> <% @nav = Caboose.plugin_hook('admin_nav', [], @user, @page) return_url = session[:caboose_station_return_url].nil? ? '/' : session[:caboose_station_return_url] return_url = '/' if return_url.starts_with?('/admin/') || return_url == '/admin' %> <% if (@user.nil? || @user == Caboose::User.logged_out_user) %>