Sha256: 291acdcd3d7c22f17bd6a764507cdfe9da6c21eaffe1496e6ab49ac60af2cc47
Contents?: true
Size: 452 Bytes
Versions: 27
Compression:
Stored size: 452 Bytes
Contents
- model_name = controller_name.singularize - model_klass = model_name.camelcase.constantize .title_tools #buttons = view_buttons .create_asset = link_to_inline("create_#{model_name}".to_sym, send("new_#{model_name}_path"), :text => t("create_#{model_name}".to_sym)) .title %span{:id => "create_#{model_name}_title"} #{t controller_name.to_sym} = image_tag("loading.gif", :size => :thumb, :id => "loading", :style => "display: none;")
Version data entries
27 entries across 27 versions & 2 rubygems