Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

This project is archived and is in readonly mode.

plugin_new generator creates empty app/templates/public/javascripts directory instead of public/javascripts

#6539

https://gist.github.com/858022

note the lines:

sers/jack/git/app/templates/public/javascripts

vs.

sers/app/templates/public/javascripts

Looks like for some reason it was adding app_templates_dir to the front of public/javascripts:

  • empty_directory "#{app_templates_dir}/public/javascripts"
  • empty_directory "public/javascripts"

I've created a branch over at github and will be issuing a pull request with the change. Anyone else have more knowledge on why this might be or a better fix?

Reported by jack dempsey (jackdempsey) · March 7th, 2011 @ 07:18 AM

State: resolved
Milestone: 3.1
Assigned to: Piotr Sarnacki Piotr Sarnacki
Importance: Low

Activity

  1. Santiago Pastorino
    Santiago Pastorino
    • State changed from new to open
    • Milestone set to 3.1
    • Assigned user set to Piotr Sarnacki
    • Importance changed from to Low

    Can you provide a test case or a patch?

    March 8th, 2011 @ 04:37 PM

  2. jack dempsey (jackdempsey)
    jack dempsey (jackdempsey)

    Hey Santiago,

    There's a patch in a pull request at GitHub. If I can get a sec I'll try to look into how this sort of thig is tested if at all

    March 8th, 2011 @ 04:56 PM

  3. Piotr Sarnacki
    Piotr Sarnacki
    • State changed from open to resolved

    April 16th, 2011 @ 07:21 PM